Home
last modified time | relevance | path

Searched refs:base_hash (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/chelsio/
H A 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()
3562 struct crypto_shash *base_hash = ERR_PTR(-EINVAL); chcr_authenc_setkey() local
[all...]
H A Dchcr_crypto.h242 struct crypto_shash *base_hash; member
/kernel/linux/linux-6.6/drivers/crypto/chelsio/
H A Dchcr_algo.c282 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()
3558 struct crypto_shash *base_hash = ERR_PTR(-EINVAL); chcr_authenc_setkey() local
[all...]
H A Dchcr_crypto.h244 struct crypto_shash *base_hash; member

Completed in 10 milliseconds