Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c240 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
241 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand1, rand1len); in P_MD5()
242 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand2, rand2len); in P_MD5()
260 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, A, MD5_HASH_SIZE); in P_MD5()
261 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
262 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand1, rand1len); in P_MD5()
263 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand2, rand2len); in P_MD5()
291 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, A, MD5_HASH_SIZE); in P_MD5()
320 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, label, labellen); in P_SHA1()
321 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, rand1, rand1len); in P_SHA1()
[all …]
H A DsoftMAC.c503 SOFT_MAC_UPDATE(MD5, &(hmac_ctx->hc_ctx_u.md5_ctx), in soft_hmac_sign_verify_common()
515 SOFT_MAC_UPDATE(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), in soft_hmac_sign_verify_common()
608 SOFT_MAC_UPDATE(MD5, &(hmac_ctx->hc_ctx_u.md5_ctx), pPart, in soft_hmac_sign_verify_update()
616 SOFT_MAC_UPDATE(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), pPart, in soft_hmac_sign_verify_update()
628 SOFT_MAC_UPDATE(SHA2, &(hmac_ctx->hc_ctx_u.sha2_ctx), pPart, in soft_hmac_sign_verify_update()
H A DsoftMAC.h105 #define SOFT_MAC_UPDATE(HASH, mac_ctx, pPart, PartLen) \ macro