Lines Matching refs:tfm
107 static int chainiv_init_common(struct crypto_tfm *tfm) in chainiv_init_common() argument
109 tfm->crt_ablkcipher.reqsize = sizeof(struct ablkcipher_request); in chainiv_init_common()
111 return skcipher_geniv_init(tfm); in chainiv_init_common()
114 static int chainiv_init(struct crypto_tfm *tfm) in chainiv_init() argument
116 struct chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in chainiv_init()
120 return chainiv_init_common(tfm); in chainiv_init()
264 static int async_chainiv_init(struct crypto_tfm *tfm) in async_chainiv_init() argument
266 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_init()
273 return chainiv_init_common(tfm); in async_chainiv_init()
276 static void async_chainiv_exit(struct crypto_tfm *tfm) in async_chainiv_exit() argument
278 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_exit()
282 skcipher_geniv_exit(tfm); in async_chainiv_exit()