Lines Matching refs:crypto_shash
27 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey()
33 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned()
54 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey()
77 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned()
101 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update()
114 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned()
136 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final()
157 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup()
178 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest()
204 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
211 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
266 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
300 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
316 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
327 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_async()
337 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_async()
338 struct crypto_shash *shash; in crypto_init_shash_ops_async()
461 struct crypto_shash *shash; in crypto_init_shash_ops_compat()
518 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_init_tfm()
573 .tfmsize = offsetof(struct crypto_shash, base),
576 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash()