Home
last modified time | relevance | path

Searched refs:PROV_SHA2_CTX (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c284 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()
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()
700 SHA2Update(&PROV_SHA2_CTX(ctx)->sc_sha2_ctx, in sha2_digest_update()
729 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_digest_final()
765 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_final()
1628 switch (PROV_SHA2_CTX(ctx)->sc_mech_type) { in sha2_free_context()
[all …]