Home
last modified time | relevance | path

Searched refs:base_hash (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c287 struct crypto_shash *base_hash = ERR_PTR(-EINVAL); in chcr_alloc_shash() local
291 base_hash = crypto_alloc_shash("sha1", 0, 0); in chcr_alloc_shash()
294 base_hash = crypto_alloc_shash("sha224", 0, 0); in chcr_alloc_shash()
297 base_hash = crypto_alloc_shash("sha256", 0, 0); in chcr_alloc_shash()
300 base_hash = crypto_alloc_shash("sha384", 0, 0); in chcr_alloc_shash()
303 base_hash = crypto_alloc_shash("sha512", 0, 0); in chcr_alloc_shash()
307 return base_hash; in chcr_alloc_shash()
1482 static inline void chcr_free_shash(struct crypto_shash *base_hash) in chcr_free_shash() argument
1484 crypto_free_shash(base_hash); in chcr_free_shash()
2107 SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); in chcr_ahash_setkey()
[all …]
Dchcr_crypto.h240 struct crypto_shash *base_hash; member