Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h67 MD5_CTX hc_icontext; /* inner MD5 context */ member
75 SHA1_CTX hc_icontext; /* inner SHA1 context */ member
80 SHA2_CTX hc_icontext; /* inner SHA2 context */ member
101 HASH##Init(&((mac_ctx)->hc_icontext)); \
102 HASH##Update(&((mac_ctx)->hc_icontext), ipad, len); \
108 HASH##Update(&((mac_ctx)->hc_icontext), pPart, PartLen);
111 HASH##Final((mac), &((mac_ctx)->hc_icontext)); \
116 SHA2Final((mac), &((mac_ctx)->hc_icontext)); \
H A DsoftMAC.c526 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext), in soft_hmac_sign_verify_common()
537 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext), in soft_hmac_sign_verify_common()
550 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext), in soft_hmac_sign_verify_common()
682 SHA2Init(mech, &ctx->hc_icontext); in sha2_hmac_ctx_init()
683 SHA2Update(&ctx->hc_icontext, (uint8_t *)ipad, block_size); in sha2_hmac_ctx_init()
/titanic_44/usr/src/uts/common/crypto/io/
H A Dmd5_mod.c102 MD5_CTX hc_icontext; /* inner MD5 context */ member
889 MD5Init(&ctx->hc_icontext); in md5_mac_init_ctx()
890 MD5Update(&ctx->hc_icontext, ipad, MD5_HMAC_BLOCK_SIZE); in md5_mac_init_ctx()
936 PROV_MD5_DIGEST_KEY(&hmac_ctx->hc_icontext, in md5_mac_init()
985 MD5Update(&PROV_MD5_HMAC_CTX(ctx)->hc_icontext, in md5_mac_update()
991 &PROV_MD5_HMAC_CTX(ctx)->hc_icontext, data); in md5_mac_update()
995 &PROV_MD5_HMAC_CTX(ctx)->hc_icontext, data); in md5_mac_update()
1029 MD5Final(digest, &PROV_MD5_HMAC_CTX(ctx)->hc_icontext); in md5_mac_final()
1090 MD5Update(&(ctx).hc_icontext, \
1095 ret = md5_digest_update_uio(&(ctx).hc_icontext, data); \
[all …]
H A Dsha1_mod.c833 SHA1Init(&ctx->hc_icontext); in sha1_mac_init_ctx()
834 SHA1Update(&ctx->hc_icontext, (uint8_t *)ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
879 PROV_SHA1_DIGEST_KEY(&hmac_ctx->hc_icontext, in sha1_mac_init()
927 SHA1Update(&PROV_SHA1_HMAC_CTX(ctx)->hc_icontext, in sha1_mac_update()
933 &PROV_SHA1_HMAC_CTX(ctx)->hc_icontext, data); in sha1_mac_update()
937 &PROV_SHA1_HMAC_CTX(ctx)->hc_icontext, data); in sha1_mac_update()
972 SHA1Final(digest, &PROV_SHA1_HMAC_CTX(ctx)->hc_icontext); in sha1_mac_final()
1033 SHA1Update(&(ctx).hc_icontext, \
1038 ret = sha1_digest_update_uio(&(ctx).hc_icontext, data); \
1041 ret = sha1_digest_update_mblk(&(ctx).hc_icontext, \
[all …]
H A Dsha2_mod.c903 SHA2Init(ctx->hc_mech_type, &ctx->hc_icontext); in sha2_mac_init_ctx()
904 SHA2Update(&ctx->hc_icontext, (uint8_t *)ipad, block_size); in sha2_mac_init_ctx()
969 &hmac_ctx->hc_icontext, in sha2_mac_init()
1016 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, in sha2_mac_update()
1022 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data); in sha2_mac_update()
1026 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data); in sha2_mac_update()
1079 SHA2Final(digest, &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext); in sha2_mac_final()
1139 SHA2Update(&(ctx).hc_icontext, \
1144 ret = sha2_digest_update_uio(&(ctx).hc_icontext, data); \
1147 ret = sha2_digest_update_mblk(&(ctx).hc_icontext, \
[all …]
/titanic_44/usr/src/common/crypto/sha2/
H A Dsha2_impl.h56 SHA2_CTX hc_icontext; /* inner SHA2 context */ member
/titanic_44/usr/src/common/crypto/sha1/
H A Dsha1_impl.h65 SHA1_CTX hc_icontext; /* inner SHA1 context */ member