Home
last modified time | relevance | path

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

/drivers/crypto/chelsio/
Dchcr_algo.c286 struct crypto_shash *base_hash = ERR_PTR(-EINVAL); in chcr_alloc_shash() local
290 base_hash = crypto_alloc_shash("sha1", 0, 0); in chcr_alloc_shash()
293 base_hash = crypto_alloc_shash("sha224", 0, 0); in chcr_alloc_shash()
296 base_hash = crypto_alloc_shash("sha256", 0, 0); in chcr_alloc_shash()
299 base_hash = crypto_alloc_shash("sha384", 0, 0); in chcr_alloc_shash()
302 base_hash = crypto_alloc_shash("sha512", 0, 0); in chcr_alloc_shash()
306 return base_hash; in chcr_alloc_shash()
1557 static inline void chcr_free_shash(struct crypto_shash *base_hash) in chcr_free_shash() argument
1559 crypto_free_shash(base_hash); in chcr_free_shash()
2208 SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); in chcr_ahash_setkey()
[all …]
Dchcr_crypto.h242 struct crypto_shash *base_hash; member