Home
last modified time | relevance | path

Searched refs:sha1_opad (Results 1 – 2 of 2) sorted by relevance

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