Lines Matching refs:tfm
80 int bsize = crypto_blkcipher_blocksize(desc->tfm); in cts_cbc_encrypt()
100 lcldesc.tfm = ctx->child; in cts_cbc_encrypt()
129 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_encrypt()
130 int bsize = crypto_blkcipher_blocksize(desc->tfm); in crypto_cts_encrypt()
136 lcldesc.tfm = ctx->child; in crypto_cts_encrypt()
166 int bsize = crypto_blkcipher_blocksize(desc->tfm); in cts_cbc_decrypt()
183 lcldesc.tfm = ctx->child; in cts_cbc_decrypt()
224 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_decrypt()
225 int bsize = crypto_blkcipher_blocksize(desc->tfm); in crypto_cts_decrypt()
231 lcldesc.tfm = ctx->child; in crypto_cts_decrypt()
253 static int crypto_cts_init_tfm(struct crypto_tfm *tfm) in crypto_cts_init_tfm() argument
255 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cts_init_tfm()
257 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_init_tfm()
268 static void crypto_cts_exit_tfm(struct crypto_tfm *tfm) in crypto_cts_exit_tfm() argument
270 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_exit_tfm()