Lines Matching refs:crypto_shash
34 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
41 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key,
62 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg)
68 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
93 struct crypto_shash *tfm = desc->tfm;
123 struct crypto_shash *tfm = desc->tfm;
142 struct crypto_shash *tfm = desc->tfm;
170 struct crypto_shash *tfm = desc->tfm;
197 struct crypto_shash *tfm = desc->tfm;
230 struct crypto_shash *tfm = desc->tfm;
253 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
284 struct crypto_shash **ctx = crypto_ahash_ctx(tfm);
291 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
345 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
379 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
394 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
404 struct crypto_shash **ctx = crypto_tfm_ctx(tfm);
414 struct crypto_shash **ctx = crypto_tfm_ctx(tfm);
415 struct crypto_shash *shash;
451 struct crypto_shash **nctx = crypto_ahash_ctx(nhash);
452 struct crypto_shash **ctx = crypto_ahash_ctx(hash);
453 struct crypto_shash *shash;
468 struct crypto_shash *hash = __crypto_shash_cast(tfm);
476 struct crypto_shash *hash = __crypto_shash_cast(tfm);
560 .tfmsize = offsetof(struct crypto_shash, base),
572 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
585 struct crypto_shash *crypto_clone_shash(struct crypto_shash *hash)
589 struct crypto_shash *nhash;