Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c328 uint64_t sha_ipad[SHA256_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local
333 bzero(sha_ipad, SHA256_HMAC_BLOCK_SIZE); in mac_init_ctx()
347 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)sha_ipad, in mac_init_ctx()
352 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
354 (void) memcpy(sha_ipad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
361 sha_ipad, sha_opad, SHA256_HMAC_INTS_PER_BLOCK, in mac_init_ctx()
369 uint64_t sha_ipad[SHA512_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local
374 bzero(sha_ipad, SHA512_HMAC_BLOCK_SIZE); in mac_init_ctx()
388 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)sha_ipad, in mac_init_ctx()
393 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
[all …]