HashDrbgContext Struct Reference
Hash_DRBG PRNG context. More...
#include <hash_drbg.h>
Data Fields | |
| OsMutex | mutex |
| Mutex preventing simultaneous access to the PRNG state. More... | |
| const HashAlgo * | hashAlgo |
| Hash function. More... | |
| HashContext | hashContext |
| Hash context. More... | |
| size_t | securityStrength |
| Security strength. More... | |
| size_t | seedLen |
| Seed length. More... | |
| uint8_t | v [HASH_DRBG_MAX_SEED_LEN] |
| Value V. More... | |
| uint8_t | c [HASH_DRBG_MAX_SEED_LEN] |
| Constant C. More... | |
| uint64_t | reseedCounter |
| Reseed counter. More... | |
Detailed Description
Hash_DRBG PRNG context.
Definition at line 56 of file hash_drbg.h.
Field Documentation
◆ c
| uint8_t c[HASH_DRBG_MAX_SEED_LEN] |
Constant C.
Definition at line 64 of file hash_drbg.h.
◆ hashAlgo
| const HashAlgo* hashAlgo |
Hash function.
Definition at line 59 of file hash_drbg.h.
◆ hashContext
| HashContext hashContext |
Hash context.
Definition at line 60 of file hash_drbg.h.
◆ mutex
| OsMutex mutex |
Mutex preventing simultaneous access to the PRNG state.
Definition at line 58 of file hash_drbg.h.
◆ reseedCounter
| uint64_t reseedCounter |
Reseed counter.
Definition at line 65 of file hash_drbg.h.
◆ securityStrength
| size_t securityStrength |
Security strength.
Definition at line 61 of file hash_drbg.h.
◆ seedLen
| size_t seedLen |
Seed length.
Definition at line 62 of file hash_drbg.h.
◆ v
| uint8_t v[HASH_DRBG_MAX_SEED_LEN] |
Value V.
Definition at line 63 of file hash_drbg.h.
The documentation for this struct was generated from the following file:
- cyclone_crypto/rng/hash_drbg.h
