iPXE
Data Fields
hmac_drbg_state Struct Reference

HMAC_DRBG internal state. More...

#include <hmac_drbg.h>

Data Fields

uint8_t value [HMAC_DRBG_MAX_OUTLEN_BYTES]
 Current value. More...
 
uint8_t key [HMAC_DRBG_MAX_OUTLEN_BYTES]
 Current key. More...
 
unsigned int reseed_counter
 Reseed counter. More...
 

Detailed Description

HMAC_DRBG internal state.

This structure is defined by ANS X9.82 Part 3-2007 Section 10.2.2.2.1 (NIST SP 800-90 Section 10.1.2.1).

The "administrative information" portions (security_strength and prediction_resistance) are design-time constants and so are not present as fields in this structure.

Definition at line 218 of file hmac_drbg.h.

Field Documentation

◆ value

uint8_t hmac_drbg_state::value[HMAC_DRBG_MAX_OUTLEN_BYTES]

Current value.

"The value V of outlen bits, which is updated each time another outlen bits of output are produced"

Definition at line 224 of file hmac_drbg.h.

◆ key

uint8_t hmac_drbg_state::key[HMAC_DRBG_MAX_OUTLEN_BYTES]

Current key.

"The outlen-bit Key, which is updated at least once each time that the DRBG mechanism generates pseudorandom bits."

Definition at line 230 of file hmac_drbg.h.

◆ reseed_counter

unsigned int hmac_drbg_state::reseed_counter

Reseed counter.

"A counter (reseed_counter) that indicates the number of requests for pseudorandom bits since instantiation or reseeding"

Definition at line 237 of file hmac_drbg.h.


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