Searched refs:base_hash (Results 1 – 2 of 2) sorted by relevance
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 282 struct crypto_shash *base_hash = ERR_PTR(-EINVAL); in chcr_alloc_shash() local 286 base_hash = crypto_alloc_shash("sha1", 0, 0); in chcr_alloc_shash() 289 base_hash = crypto_alloc_shash("sha224", 0, 0); in chcr_alloc_shash() 292 base_hash = crypto_alloc_shash("sha256", 0, 0); in chcr_alloc_shash() 295 base_hash = crypto_alloc_shash("sha384", 0, 0); in chcr_alloc_shash() 298 base_hash = crypto_alloc_shash("sha512", 0, 0); in chcr_alloc_shash() 302 return base_hash; in chcr_alloc_shash() 1550 static inline void chcr_free_shash(struct crypto_shash *base_hash) in chcr_free_shash() argument 1552 crypto_free_shash(base_hash); in chcr_free_shash() 2202 SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); in chcr_ahash_setkey() [all …]
|
D | chcr_crypto.h | 244 struct crypto_shash *base_hash; member
|