hmacctx 111 drivers/crypto/chelsio/chcr_algo.c return ctx->crypto_ctx->hmacctx; hmacctx 1496 drivers/crypto/chelsio/chcr_algo.c struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); hmacctx 1545 drivers/crypto/chelsio/chcr_algo.c hmacctx->opad, param->alg_prm.result_size); hmacctx 2102 drivers/crypto/chelsio/chcr_algo.c struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); hmacctx 2107 drivers/crypto/chelsio/chcr_algo.c SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); hmacctx 2113 drivers/crypto/chelsio/chcr_algo.c shash->tfm = hmacctx->base_hash; hmacctx 2116 drivers/crypto/chelsio/chcr_algo.c hmacctx->ipad); hmacctx 2121 drivers/crypto/chelsio/chcr_algo.c memcpy(hmacctx->ipad, key, keylen); hmacctx 2123 drivers/crypto/chelsio/chcr_algo.c memset(hmacctx->ipad + keylen, 0, bs - keylen); hmacctx 2124 drivers/crypto/chelsio/chcr_algo.c memcpy(hmacctx->opad, hmacctx->ipad, bs); hmacctx 2127 drivers/crypto/chelsio/chcr_algo.c *((unsigned int *)(&hmacctx->ipad) + i) ^= IPAD_DATA; hmacctx 2128 drivers/crypto/chelsio/chcr_algo.c *((unsigned int *)(&hmacctx->opad) + i) ^= OPAD_DATA; hmacctx 2136 drivers/crypto/chelsio/chcr_algo.c err = chcr_compute_partial_hash(shash, hmacctx->ipad, hmacctx 2137 drivers/crypto/chelsio/chcr_algo.c hmacctx->ipad, digestsize); hmacctx 2140 drivers/crypto/chelsio/chcr_algo.c chcr_change_order(hmacctx->ipad, updated_digestsize); hmacctx 2142 drivers/crypto/chelsio/chcr_algo.c err = chcr_compute_partial_hash(shash, hmacctx->opad, hmacctx 2143 drivers/crypto/chelsio/chcr_algo.c hmacctx->opad, digestsize); hmacctx 2146 drivers/crypto/chelsio/chcr_algo.c chcr_change_order(hmacctx->opad, updated_digestsize); hmacctx 2207 drivers/crypto/chelsio/chcr_algo.c struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); hmacctx 2215 drivers/crypto/chelsio/chcr_algo.c memcpy(req_ctx->partial_hash, hmacctx->ipad, hmacctx 2218 drivers/crypto/chelsio/chcr_algo.c memcpy(req_ctx->partial_hash, hmacctx->ipad, hmacctx 2221 drivers/crypto/chelsio/chcr_algo.c memcpy(req_ctx->partial_hash, hmacctx->ipad, hmacctx 2230 drivers/crypto/chelsio/chcr_algo.c struct hmac_ctx *hmacctx = HMAC_CTX(ctx); hmacctx 2236 drivers/crypto/chelsio/chcr_algo.c hmacctx->base_hash = chcr_alloc_shash(digestsize); hmacctx 2237 drivers/crypto/chelsio/chcr_algo.c if (IS_ERR(hmacctx->base_hash)) hmacctx 2238 drivers/crypto/chelsio/chcr_algo.c return PTR_ERR(hmacctx->base_hash); hmacctx 2245 drivers/crypto/chelsio/chcr_algo.c struct hmac_ctx *hmacctx = HMAC_CTX(ctx); hmacctx 2247 drivers/crypto/chelsio/chcr_algo.c if (hmacctx->base_hash) { hmacctx 2248 drivers/crypto/chelsio/chcr_algo.c chcr_free_shash(hmacctx->base_hash); hmacctx 2249 drivers/crypto/chelsio/chcr_algo.c hmacctx->base_hash = NULL; hmacctx 246 drivers/crypto/chelsio/chcr_crypto.h struct hmac_ctx hmacctx[0];