iPXE
md5_sha1_hmac_keys Struct Reference

An MD5+SHA1 HMAC key block. More...

#include <md5_sha1.h>

Data Fields

uint8_t md5 [MD5_BLOCK_SIZE]
 MD5 HMAC key.
uint8_t sha1 [SHA1_BLOCK_SIZE]
 SHA-1 HMAC key.

Detailed Description

An MD5+SHA1 HMAC key block.

The hybrid PRF used in TLS version 1.1 and earlier does not use HMAC with the hybrid MD5+SHA1 algorithm: it uses separate invocations of HMAC-MD5 and HMAC-SHA1.

Definition at line 57 of file md5_sha1.h.

Field Documentation

◆ md5

uint8_t md5_sha1_hmac_keys::md5[MD5_BLOCK_SIZE]

MD5 HMAC key.

Definition at line 59 of file md5_sha1.h.

Referenced by tls_generate_resumption_master(), tls_prf(), and tls_set_kdf_master().

◆ sha1

uint8_t md5_sha1_hmac_keys::sha1[SHA1_BLOCK_SIZE]

SHA-1 HMAC key.

Definition at line 61 of file md5_sha1.h.

Referenced by tls_generate_resumption_master(), tls_prf(), and tls_set_kdf_master().


The documentation for this struct was generated from the following file: