Searched refs:PROV_SHA2_CTX (Results 1 – 1 of 1) sorted by relevance
281 PROV_SHA2_CTX(ctx)->sc_mech_type = mechanism->cm_type; in sha2_digest_init()282 SHA2Init(mechanism->cm_type, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_init()451 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_digest()480 SHA2Update(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()507 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest()510 ret = sha2_digest_final_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest()543 SHA2Update(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest_update()568 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_digest_final()598 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_final()601 ret = sha2_digest_final_uio(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest_final()[all …]