Searched refs:md5_ipad (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c195 CK_BYTE md5_ipad[MD5_SSL_PAD_AND_KEY_SIZE]; local
202 bzero(md5_ipad, MD5_SSL_PAD_AND_KEY_SIZE);
206 (void) memcpy(md5_ipad, OBJ_SEC(key)->sk_value,
208 (void) memcpy(&md5_ipad[OBJ_SEC(key)->sk_value_len],
216 md5_ipad, md5_opad, MD5_SSL_PAD_AND_KEY_SIZE);
223 uint32_t md5_ipad[MD5_HMAC_INTS_PER_BLOCK]; local
228 bzero(md5_ipad, MD5_HMAC_BLOCK_SIZE);
242 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)md5_ipad,
247 (void) memcpy(md5_opad, md5_ipad, hash_len);
249 (void) memcpy(md5_ipad, OBJ_SE
[all...]
H A DsoftSSL.c218 uint32_t md5_ipad[MD5_HMAC_INTS_PER_BLOCK]; local
228 bzero(md5_ipad, MD5_HMAC_BLOCK_SIZE);
232 bcopy(secret, md5_ipad, secretlen);
237 md5_hmac_ctx_init(&md5_hmac_ctx, md5_ipad, md5_opad);
256 SOFT_MAC_INIT_CTX(MD5, &md5_hmac_ctx, md5_ipad, md5_opad,
287 SOFT_MAC_INIT_CTX(MD5, &md5_hmac_ctx, md5_ipad, md5_opad,

Completed in 144 milliseconds