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) macro284 PROV_SHA2_CTX(ctx)->sc_mech_type = mechanism->cm_type; in sha2_digest_init()285 SHA2Init(mechanism->cm_type, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_init()594 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_digest()629 SHA2Update(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()634 ret = sha2_digest_update_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()638 ret = sha2_digest_update_mblk(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()660 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest()663 ret = sha2_digest_final_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()667 ret = sha2_digest_final_mblk(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()[all …]