Lines Matching defs:tfm
54 static int ghash_setkey(struct crypto_shash *tfm,
57 struct ghash_ctx *ctx = crypto_shash_ctx(tfm);
99 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
152 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
182 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm);
188 desc->tfm = child;
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
196 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm);
213 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
214 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm);
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
254 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm);
267 desc->tfm = child;
272 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key,
275 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm);
279 crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm)
284 static int ghash_async_init_tfm(struct crypto_tfm *tfm)
287 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm);
295 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
302 static void ghash_async_exit_tfm(struct crypto_tfm *tfm)
304 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm);