Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/crypto/io/
H A Dmd5_mod.c99 typedef struct md5_hmac_ctx { struct
1116 md5_hmac_ctx_t md5_hmac_ctx; in md5_mac_atomic() local
1130 bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t)); in md5_mac_atomic()
1139 PROV_MD5_DIGEST_KEY(&md5_hmac_ctx.hc_icontext, in md5_mac_atomic()
1141 md5_mac_init_ctx(&md5_hmac_ctx, digest, in md5_mac_atomic()
1144 md5_mac_init_ctx(&md5_hmac_ctx, key->ck_data, in md5_mac_atomic()
1166 MD5_MAC_UPDATE(data, md5_hmac_ctx, ret); in md5_mac_atomic()
1172 MD5Final(digest, &md5_hmac_ctx.hc_icontext); in md5_mac_atomic()
1178 MD5Update(&md5_hmac_ctx.hc_ocontext, digest, MD5_DIGEST_LENGTH); in md5_mac_atomic()
1192 MD5Final(digest, &md5_hmac_ctx.hc_ocontext); in md5_mac_atomic()
[all …]
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c222 md5_hc_ctx_t md5_hmac_ctx; in P_MD5() local
237 md5_hmac_ctx_init(&md5_hmac_ctx, md5_ipad, md5_opad); in P_MD5()
238 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
239 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand1, rand1len); in P_MD5()
240 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand2, rand2len); in P_MD5()
241 SOFT_MAC_FINAL(MD5, &md5_hmac_ctx, A); in P_MD5()
256 SOFT_MAC_INIT_CTX(MD5, &md5_hmac_ctx, md5_ipad, md5_opad, in P_MD5()
258 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, A, MD5_HASH_SIZE); in P_MD5()
259 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
260 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand1, rand1len); in P_MD5()
[all …]
H A DsoftMAC.c644 md5_hmac_ctx_init(md5_hc_ctx_t *md5_hmac_ctx, uint32_t *ipad, uint32_t *opad) in md5_hmac_ctx_init() argument
652 SOFT_MAC_INIT_CTX(MD5, md5_hmac_ctx, ipad, opad, MD5_HMAC_BLOCK_SIZE); in md5_hmac_ctx_init()