MPHELL  4.0.0
Data Structures | Macros | Typedefs | Enumerations
mphell-drbg_types.h File Reference

Declaration of the Deterministic Random Bit Generator types. More...

#include "mphell-entropy.h"
Include dependency graph for mphell-drbg_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  drbg_working_state_t
 One or more values that are derived from the seed and become part of the internal state, and a reseed counter. More...
 
struct  drbg_info_data_t
 Administrative informations on the DRBG state. More...
 
struct  drbg_internal_state_t
 The working state and administrative informations. More...
 

Macros

#define DRBG_MAX_INTERNAL_STATES   10
 

Typedefs

typedef drbg_working_state_t drbg_working_state[1]
 Address of a drbg_working_state_t structure.
 
typedef enum drbg_algorithm drbg_type
 Define the DRBG algorithm.
 
typedef drbg_info_data_t drbg_info_data[1]
 Address of a drbg_info_data_t structure.
 
typedef drbg_internal_state_t drbg_internal_state[1]
 Address of a drbg_internal_state_t structure.
 

Enumerations

enum  drbg_algorithm {
  DRBG_UNSET, DRBG_SHA1, DRBG_SHA256, DRBG_AES128,
  DRBG_AES192, DRBG_AES256
}
 Define the DRBG algorithm. More...
 

Detailed Description

Declaration of the Deterministic Random Bit Generator types.

Definition in file mphell-drbg_types.h.

Enumeration Type Documentation

◆ drbg_algorithm

Define the DRBG algorithm.

Enumerator
DRBG_UNSET 

No algorithm specified

DRBG_SHA1 

Use SHA1 hash algorithm

DRBG_SHA256 

Use SHA256 hash algorithm

DRBG_AES128 

Use AES with 128 bits keys in Counter mode

DRBG_AES192 

Use AES with 192 bits keys in Counter mode

DRBG_AES256 

Use AES with 256 bits keys in Counter mode

Definition at line 51 of file mphell-drbg_types.h.