Searched defs:sha1_opad (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c262 CK_BYTE sha1_opad[SHA1_SSL_PAD_AND_KEY_SIZE]; local
269 bzero(sha1_opad, SHA1_SSL_PAD_AND_KEY_SIZE);
276 (void) memcpy(sha1_opad, OBJ_SEC(key)->sk_value,
278 (void) memcpy(&sha1_opad[OBJ_SEC(key)->sk_value_len],
282 sha1_ipad, sha1_opad, SHA1_SSL_PAD_AND_KEY_SIZE);
290 uint32_t sha1_opad[SHA1_HMAC_INTS_PER_BLOCK]; local
295 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE);
313 (void) memcpy(sha1_opad, sha1_ipad, hash_len);
317 (void) memcpy(sha1_opad, OBJ_SEC(key)->sk_value,
322 sha1_opad);
[all...]
H A DsoftSSL.c299 uint32_t sha1_opad[SHA1_HMAC_INTS_PER_BLOCK]; local
309 bzero(sha1_opad, SHA1_HMAC_BLOCK_SIZE);
313 bcopy(secret, sha1_opad, secretlen);
317 sha1_hmac_ctx_init(&sha1_hmac_ctx, sha1_ipad, sha1_opad);
337 (const uchar_t *)sha1_ipad, (const uchar_t *)sha1_opad,
369 (const uchar_t *)sha1_ipad, (const uchar_t *)sha1_opad,

Completed in 62 milliseconds