Lines Matching refs:tfm
103 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update()
133 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final()
156 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() argument
159 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey()
201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local
202 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
208 desc->tfm = child; in ghash_async_init()
215 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local
216 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() local
234 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() local
251 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
264 desc->tfm = child; in ghash_async_digest()
272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import() local
273 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_import()
276 desc->tfm = cryptd_ahash_child(ctx->cryptd_tfm); in ghash_async_import()
289 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() argument
292 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
296 crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) in ghash_async_setkey()
301 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() argument
304 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm()
310 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in ghash_async_init_tfm()
317 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm() argument
319 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_exit_tfm()