Lines Matching refs:crypto_shash
23 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey()
42 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned()
63 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey()
69 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey()
94 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned()
124 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update()
137 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned()
165 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final()
186 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup()
207 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest()
221 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data, in crypto_shash_tfm_digest()
252 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
259 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
313 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
347 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
362 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
372 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_async()
382 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_async()
383 struct crypto_shash *shash; in crypto_init_shash_ops_async()
418 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_exit_tfm()
426 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_init_tfm()
505 .tfmsize = offsetof(struct crypto_shash, base),
517 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash()