Lines Matching defs:tfm
22 * | <parent tfm>
107 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm);
109 int bs = crypto_shash_blocksize(pdesc->tfm);
121 struct crypto_shash *parent = pdesc->tfm;
125 struct crypto_cipher *tfm = tctx->child;
143 crypto_cipher_encrypt_one(tfm, prev, prev);
151 crypto_cipher_encrypt_one(tfm, prev, prev);
167 struct crypto_shash *parent = pdesc->tfm;
171 struct crypto_cipher *tfm = tctx->child;
196 crypto_cipher_encrypt_one(tfm, out, prev);
201 static int cmac_init_tfm(struct crypto_shash *tfm)
203 struct shash_instance *inst = shash_alg_instance(tfm);
204 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);
218 static int cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm)
221 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);
233 static void cmac_exit_tfm(struct crypto_shash *tfm)
235 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);