Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c329 uint64_t sha_ipad[SHA256_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local
334 bzero(sha_ipad, SHA256_HMAC_BLOCK_SIZE); in mac_init_ctx()
348 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)sha_ipad, in mac_init_ctx()
353 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
355 (void) memcpy(sha_ipad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
362 sha_ipad, sha_opad, SHA256_HMAC_INTS_PER_BLOCK, in mac_init_ctx()
370 uint64_t sha_ipad[SHA512_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local
375 bzero(sha_ipad, SHA512_HMAC_BLOCK_SIZE); in mac_init_ctx()
389 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)sha_ipad, in mac_init_ctx()
394 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
[all …]