• Home
  • Raw
  • Download

Lines Matching refs:tfm

55 static int ghash_setkey(struct crypto_shash *tfm,  in ghash_setkey()  argument
58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey()
63 crypto_shash_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in ghash_setkey()
84 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update()
137 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final()
166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local
167 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
179 desc->tfm = child; in ghash_async_init()
190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local
191 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
208 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() local
209 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
246 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() local
247 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
259 desc->tfm = child; in ghash_async_digest()
265 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() argument
268 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
273 crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) in ghash_async_setkey()
276 crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child) in ghash_async_setkey()
282 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() argument
285 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm()
291 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in ghash_async_init_tfm()
298 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm() argument
300 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_exit_tfm()