Lines Matching defs:tfm
22 * | <parent tfm>
106 int bs = crypto_shash_blocksize(pdesc->tfm);
118 struct crypto_shash *parent = pdesc->tfm;
121 struct crypto_cipher *tfm = tctx->child;
139 crypto_cipher_encrypt_one(tfm, prev, prev);
147 crypto_cipher_encrypt_one(tfm, prev, prev);
163 struct crypto_shash *parent = pdesc->tfm;
166 struct crypto_cipher *tfm = tctx->child;
189 crypto_cipher_encrypt_one(tfm, out, prev);
194 static int cmac_init_tfm(struct crypto_shash *tfm)
196 struct shash_instance *inst = shash_alg_instance(tfm);
197 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);
211 static int cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm)
214 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);
226 static void cmac_exit_tfm(struct crypto_shash *tfm)
228 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(tfm);