Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c560 sha2_hmac_ctx_t sha2_hmac_ctx; in sha2_mac_atomic() local
579 memcpy(&sha2_hmac_ctx, ctx_template, sizeof (sha2_hmac_ctx_t)); in sha2_mac_atomic()
581 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic()
590 &sha2_hmac_ctx.hc_icontext, in sha2_mac_atomic()
592 sha2_mac_init_ctx(&sha2_hmac_ctx, digest, in sha2_mac_atomic()
595 sha2_mac_init_ctx(&sha2_hmac_ctx, key->ck_data, in sha2_mac_atomic()
601 SHA2_MAC_UPDATE(data, sha2_hmac_ctx, ret); in sha2_mac_atomic()
609 SHA2Final(digest, &sha2_hmac_ctx.hc_icontext); in sha2_mac_atomic()
616 SHA2Update(&sha2_hmac_ctx.hc_ocontext, digest, sha_digest_len); in sha2_mac_atomic()
630 SHA2Final(digest, &sha2_hmac_ctx.hc_ocontext); in sha2_mac_atomic()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/include/sha2/
H A Dsha2_impl.h76 typedef struct sha2_hmac_ctx { struct