Lines Matching refs:crypto_shash

34 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,  in shash_no_setkey()
41 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned()
62 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey()
68 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey()
93 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned()
123 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update()
142 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned()
170 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final()
197 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup()
230 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest()
253 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data, in crypto_shash_tfm_digest()
284 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
291 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
345 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
379 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
394 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
404 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_async()
414 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_async()
415 struct crypto_shash *shash; in crypto_init_shash_ops_async()
451 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); in crypto_clone_shash_ops_async()
452 struct crypto_shash **ctx = crypto_ahash_ctx(hash); in crypto_clone_shash_ops_async()
453 struct crypto_shash *shash; in crypto_clone_shash_ops_async()
468 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_exit_tfm()
476 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_init_tfm()
560 .tfmsize = offsetof(struct crypto_shash, base),
572 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash()
585 struct crypto_shash *crypto_clone_shash(struct crypto_shash *hash) in crypto_clone_shash()
589 struct crypto_shash *nhash; in crypto_clone_shash()