Lines Matching refs:sha2_ctx
364 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
405 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
446 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
487 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
565 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
568 SOFT_MAC_FINAL(SHA224, &(hmac_ctx->hc_ctx_u.sha2_ctx),
576 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
579 SOFT_MAC_FINAL(SHA256, &(hmac_ctx->hc_ctx_u.sha2_ctx),
587 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
590 SOFT_MAC_FINAL(SHA384, &(hmac_ctx->hc_ctx_u.sha2_ctx),
599 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
602 SOFT_MAC_FINAL(SHA512, &(hmac_ctx->hc_ctx_u.sha2_ctx),
677 SOFT_MAC_UPDATE(SHA2, &(hmac_ctx->hc_ctx_u.sha2_ctx), pPart,