base_hash 287 drivers/crypto/chelsio/chcr_algo.c struct crypto_shash *base_hash = ERR_PTR(-EINVAL); base_hash 291 drivers/crypto/chelsio/chcr_algo.c base_hash = crypto_alloc_shash("sha1", 0, 0); base_hash 294 drivers/crypto/chelsio/chcr_algo.c base_hash = crypto_alloc_shash("sha224", 0, 0); base_hash 297 drivers/crypto/chelsio/chcr_algo.c base_hash = crypto_alloc_shash("sha256", 0, 0); base_hash 300 drivers/crypto/chelsio/chcr_algo.c base_hash = crypto_alloc_shash("sha384", 0, 0); base_hash 303 drivers/crypto/chelsio/chcr_algo.c base_hash = crypto_alloc_shash("sha512", 0, 0); base_hash 307 drivers/crypto/chelsio/chcr_algo.c return base_hash; base_hash 1482 drivers/crypto/chelsio/chcr_algo.c static inline void chcr_free_shash(struct crypto_shash *base_hash) base_hash 1484 drivers/crypto/chelsio/chcr_algo.c crypto_free_shash(base_hash); base_hash 2107 drivers/crypto/chelsio/chcr_algo.c SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); base_hash 2113 drivers/crypto/chelsio/chcr_algo.c shash->tfm = hmacctx->base_hash; base_hash 2236 drivers/crypto/chelsio/chcr_algo.c hmacctx->base_hash = chcr_alloc_shash(digestsize); base_hash 2237 drivers/crypto/chelsio/chcr_algo.c if (IS_ERR(hmacctx->base_hash)) base_hash 2238 drivers/crypto/chelsio/chcr_algo.c return PTR_ERR(hmacctx->base_hash); base_hash 2247 drivers/crypto/chelsio/chcr_algo.c if (hmacctx->base_hash) { base_hash 2248 drivers/crypto/chelsio/chcr_algo.c chcr_free_shash(hmacctx->base_hash); base_hash 2249 drivers/crypto/chelsio/chcr_algo.c hmacctx->base_hash = NULL; base_hash 3415 drivers/crypto/chelsio/chcr_algo.c struct crypto_shash *base_hash = ERR_PTR(-EINVAL); base_hash 3471 drivers/crypto/chelsio/chcr_algo.c base_hash = chcr_alloc_shash(max_authsize); base_hash 3472 drivers/crypto/chelsio/chcr_algo.c if (IS_ERR(base_hash)) { base_hash 3479 drivers/crypto/chelsio/chcr_algo.c SHASH_DESC_ON_STACK(shash, base_hash); base_hash 3481 drivers/crypto/chelsio/chcr_algo.c shash->tfm = base_hash; base_hash 3482 drivers/crypto/chelsio/chcr_algo.c bs = crypto_shash_blocksize(base_hash); base_hash 3525 drivers/crypto/chelsio/chcr_algo.c chcr_free_shash(base_hash); base_hash 3533 drivers/crypto/chelsio/chcr_algo.c if (!IS_ERR(base_hash)) base_hash 3534 drivers/crypto/chelsio/chcr_algo.c chcr_free_shash(base_hash); base_hash 240 drivers/crypto/chelsio/chcr_crypto.h struct crypto_shash *base_hash;