Lines Matching refs:hmac_pad
150 /* hmac_pad is the masked HMAC key. */
151 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE];
336 memset(hmac_pad, 0, md_block_size);
337 if (!ossl_assert(mac_secret_length <= sizeof(hmac_pad)))
339 memcpy(hmac_pad, mac_secret, mac_secret_length);
341 hmac_pad[i] ^= 0x36;
343 md_transform(md_state.c, hmac_pad);
461 /* We repurpose |hmac_pad| to contain the SSLv3 pad2 block. */
462 memset(hmac_pad, 0x5c, sslv3_pad_length);
465 || EVP_DigestUpdate(md_ctx, hmac_pad, sslv3_pad_length) <= 0
471 hmac_pad[i] ^= 0x6a;
473 if (EVP_DigestUpdate(md_ctx, hmac_pad, md_block_size) <= 0