CTR_DRBG PRNG context. More...
#include <ctr_drbg.h>
Data Fields | |
OsMutex | mutex |
Mutex preventing simultaneous access to the PRNG state. More... | |
const CipherAlgo * | cipherAlgo |
Cipher function. More... | |
CipherContext | cipherContext |
Cipher context. More... | |
size_t | keyLen |
Key length. More... | |
size_t | securityStrength |
Security strength. More... | |
bool_t | df |
Use key derivation function. More... | |
size_t | ctrLen |
Counter length. More... | |
size_t | seedLen |
Seed length. More... | |
uint8_t | v [MAX_CIPHER_BLOCK_SIZE] |
Value V. More... | |
uint8_t | k [CTR_DRBG_MAX_KEY_LEN] |
Key. More... | |
uint64_t | reseedCounter |
Reseed counter. More... | |
Detailed Description
CTR_DRBG PRNG context.
Definition at line 58 of file ctr_drbg.h.
Field Documentation
◆ cipherAlgo
const CipherAlgo* cipherAlgo |
Cipher function.
Definition at line 61 of file ctr_drbg.h.
◆ cipherContext
CipherContext cipherContext |
Cipher context.
Definition at line 62 of file ctr_drbg.h.
◆ ctrLen
size_t ctrLen |
Counter length.
Definition at line 66 of file ctr_drbg.h.
◆ df
bool_t df |
Use key derivation function.
Definition at line 65 of file ctr_drbg.h.
◆ k
uint8_t k[CTR_DRBG_MAX_KEY_LEN] |
Key.
Definition at line 69 of file ctr_drbg.h.
◆ keyLen
size_t keyLen |
Key length.
Definition at line 63 of file ctr_drbg.h.
◆ mutex
OsMutex mutex |
Mutex preventing simultaneous access to the PRNG state.
Definition at line 60 of file ctr_drbg.h.
◆ reseedCounter
uint64_t reseedCounter |
Reseed counter.
Definition at line 70 of file ctr_drbg.h.
◆ securityStrength
size_t securityStrength |
Security strength.
Definition at line 64 of file ctr_drbg.h.
◆ seedLen
size_t seedLen |
Seed length.
Definition at line 67 of file ctr_drbg.h.
◆ v
uint8_t v[MAX_CIPHER_BLOCK_SIZE] |
Value V.
Definition at line 68 of file ctr_drbg.h.
The documentation for this struct was generated from the following file:
- cyclone_crypto/rng/ctr_drbg.h