Searched refs:hmacctx (Results 1 – 2 of 2) sorted by relevance
111 return &ctx->crypto_ctx->hmacctx; in HMAC_CTX()2215 shash->tfm = hmacctx->base_hash; in chcr_ahash_setkey()2218 hmacctx->ipad); in chcr_ahash_setkey()2223 memcpy(hmacctx->ipad, key, keylen); in chcr_ahash_setkey()2226 unsafe_memcpy(hmacctx->opad, hmacctx->ipad, bs, in chcr_ahash_setkey()2240 hmacctx->ipad, digestsize); in chcr_ahash_setkey()2246 hmacctx->opad, digestsize); in chcr_ahash_setkey()2355 if (IS_ERR(hmacctx->base_hash)) in chcr_hmac_cra_init()2356 return PTR_ERR(hmacctx->base_hash); in chcr_hmac_cra_init()2365 if (hmacctx->base_hash) { in chcr_hmac_cra_exit()[all …]
251 struct hmac_ctx hmacctx; member