Searched refs:hmac_pad (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/crypto/openssl/ssl/
H A Ds3_cbc.c150 /* hmac_pad is the masked HMAC key. */
151 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE]; local
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_lengt
[all...]

Completed in 49 milliseconds