Searched refs:hmacctx (Results 1 – 2 of 2) sorted by relevance
111 return ctx->crypto_ctx->hmacctx; in HMAC_CTX()1566 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in create_hash_wr() local1618 hmacctx->opad, param->alg_prm.result_size); in create_hash_wr()2197 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in chcr_ahash_setkey() local2202 SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); in chcr_ahash_setkey()2208 shash->tfm = hmacctx->base_hash; in chcr_ahash_setkey()2211 hmacctx->ipad); in chcr_ahash_setkey()2216 memcpy(hmacctx->ipad, key, keylen); in chcr_ahash_setkey()2218 memset(hmacctx->ipad + keylen, 0, bs - keylen); in chcr_ahash_setkey()2219 memcpy(hmacctx->opad, hmacctx->ipad, bs); in chcr_ahash_setkey()[all …]
251 DECLARE_FLEX_ARRAY(struct hmac_ctx, hmacctx);