Lines Matching refs:tfm
84 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_xcbc_digest_init()
86 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init()
98 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update()
102 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() local
120 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_xcbc_digest_update()
128 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_xcbc_digest_update()
144 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_final()
148 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() local
172 crypto_cipher_encrypt_one(tfm, out, prev); in crypto_xcbc_digest_final()
177 static int xcbc_init_tfm(struct crypto_tfm *tfm) in xcbc_init_tfm() argument
180 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
182 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_init_tfm()
193 static void xcbc_exit_tfm(struct crypto_tfm *tfm) in xcbc_exit_tfm() argument
195 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_exit_tfm()