Lines Matching refs:tfm
43 struct crypto_cipher *tfm, in crypto_ecb_crypt() argument
46 int bsize = crypto_cipher_blocksize(tfm); in crypto_ecb_crypt()
57 fn(crypto_cipher_tfm(tfm), wdst, wsrc); in crypto_ecb_crypt()
74 struct crypto_blkcipher *tfm = desc->tfm; in crypto_ecb_encrypt() local
75 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_encrypt()
88 struct crypto_blkcipher *tfm = desc->tfm; in crypto_ecb_decrypt() local
89 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_decrypt()
97 static int crypto_ecb_init_tfm(struct crypto_tfm *tfm) in crypto_ecb_init_tfm() argument
99 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ecb_init_tfm()
101 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_init_tfm()
112 static void crypto_ecb_exit_tfm(struct crypto_tfm *tfm) in crypto_ecb_exit_tfm() argument
114 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_exit_tfm()