Lines Matching refs:tfm

68 	struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);  in crypto_cts_reqctx_space()  local
69 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_reqctx_space()
73 crypto_skcipher_alignmask(tfm) + 1); in crypto_cts_reqctx_space()
101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
103 int bsize = crypto_skcipher_blocksize(tfm); in cts_cbc_encrypt()
145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cts_encrypt() local
147 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_encrypt()
149 int bsize = crypto_skcipher_blocksize(tfm); in crypto_cts_encrypt()
182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
184 int bsize = crypto_skcipher_blocksize(tfm); in cts_cbc_decrypt()
239 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cts_decrypt() local
241 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_decrypt()
243 int bsize = crypto_skcipher_blocksize(tfm); in crypto_cts_decrypt()
283 static int crypto_cts_init_tfm(struct crypto_skcipher *tfm) in crypto_cts_init_tfm() argument
285 struct skcipher_instance *inst = skcipher_alg_instance(tfm); in crypto_cts_init_tfm()
287 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_init_tfm()
299 align = crypto_skcipher_alignmask(tfm); in crypto_cts_init_tfm()
306 crypto_skcipher_set_reqsize(tfm, reqsize); in crypto_cts_init_tfm()
311 static void crypto_cts_exit_tfm(struct crypto_skcipher *tfm) in crypto_cts_exit_tfm() argument
313 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_cts_exit_tfm()