Searched refs:sha_opad (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.c | 329 uint64_t sha_opad[SHA256_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local 334 bzero(sha_opad, SHA256_HMAC_BLOCK_SIZE); in mac_init_ctx() 352 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx() 356 (void) memcpy(sha_opad, OBJ_SEC(key)->sk_value, in mac_init_ctx() 361 sha_ipad, sha_opad, SHA256_HMAC_INTS_PER_BLOCK, in mac_init_ctx() 370 uint64_t sha_opad[SHA512_HMAC_INTS_PER_BLOCK]; in mac_init_ctx() local 375 bzero(sha_opad, SHA512_HMAC_BLOCK_SIZE); in mac_init_ctx() 393 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx() 397 (void) memcpy(sha_opad, OBJ_SEC(key)->sk_value, in mac_init_ctx() 402 sha_ipad, sha_opad, SHA512_HMAC_INTS_PER_BLOCK, in mac_init_ctx() [all …]
|