Searched refs:hmacctx (Results 1 – 2 of 2) sorted by relevance
111 return ctx->crypto_ctx->hmacctx; in HMAC_CTX()1473 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in create_hash_wr() local1522 hmacctx->opad, param->alg_prm.result_size); in create_hash_wr()2033 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in chcr_ahash_setkey() local2038 SHASH_DESC_ON_STACK(shash, hmacctx->base_hash); in chcr_ahash_setkey()2044 shash->tfm = hmacctx->base_hash; in chcr_ahash_setkey()2045 shash->flags = crypto_shash_get_flags(hmacctx->base_hash); in chcr_ahash_setkey()2048 hmacctx->ipad); in chcr_ahash_setkey()2053 memcpy(hmacctx->ipad, key, keylen); in chcr_ahash_setkey()2055 memset(hmacctx->ipad + keylen, 0, bs - keylen); in chcr_ahash_setkey()[all …]
249 struct hmac_ctx hmacctx[0]; member