Searched refs:PROV_SHA2_CTX (Results 1 – 1 of 1) sorted by relevance
66 #define PROV_SHA2_CTX(ctx) ((sha2_ctx_t *)(ctx)->cc_provider_private) macro276 PROV_SHA2_CTX(ctx)->sc_mech_type = mechanism->cm_type; in sha2_digest_init()277 SHA2Init(mechanism->cm_type, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_init()586 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_digest()615 SHA2Update(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()620 ret = sha2_digest_update_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()624 ret = sha2_digest_update_mblk(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()646 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest()649 ret = sha2_digest_final_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()653 ret = sha2_digest_final_mblk(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()[all …]