Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c1197 sha2_hmac_ctx_t sha2_hmac_ctx; in sha2_mac_atomic() local
1228 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); in sha2_mac_atomic()
1230 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic()
1239 &sha2_hmac_ctx.hc_icontext, in sha2_mac_atomic()
1241 sha2_mac_init_ctx(&sha2_hmac_ctx, digest, in sha2_mac_atomic()
1244 sha2_mac_init_ctx(&sha2_hmac_ctx, key->ck_data, in sha2_mac_atomic()
1264 SHA2_MAC_UPDATE(data, sha2_hmac_ctx, ret); in sha2_mac_atomic()
1272 SHA2Final(digest, &sha2_hmac_ctx.hc_icontext); in sha2_mac_atomic()
1283 SHA2Update(&sha2_hmac_ctx.hc_ocontext, digest, in sha2_mac_atomic()
1286 SHA2Update(&sha2_hmac_ctx.hc_ocontext, digest, sha_digest_len); in sha2_mac_atomic()
[all …]
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2_impl.h53 typedef struct sha2_hmac_ctx { struct