Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
CRYS_RND_State_t Struct Reference
[CryptoCell Random Generator APIs]
#include <crys_rnd.h>
Data Fields | |
uint32_t | Seed [CRYS_RND_SEED_MAX_SIZE_WORDS] |
uint32_t | PreviousRandValue [SASI_AES_BLOCK_SIZE_IN_WORDS] |
uint32_t | PreviousAdditionalInput [CRYS_RND_ADDITINAL_INPUT_MAX_SIZE_WORDS+5] |
uint32_t | AdditionalInput [CRYS_RND_ADDITINAL_INPUT_MAX_SIZE_WORDS+4] |
uint32_t | AddInputSizeWords |
uint32_t | EntropySourceSizeWords |
uint32_t | ReseedCounter |
uint32_t | KeySizeWords |
uint32_t | StateFlag |
uint32_t | TrngProcesState |
uint32_t | ValidTag |
uint32_t | EntropySizeBits |
Detailed Description
RND state structure. Includes internal data that needs to be saved between boots by the user.
Definition at line 148 of file crys_rnd.h.
Field Documentation
uint32_t AddInputSizeWords |
Additional input size in words.
Definition at line 163 of file crys_rnd.h.
uint32_t AdditionalInput[CRYS_RND_ADDITINAL_INPUT_MAX_SIZE_WORDS+4] |
Additional input buffer.
Definition at line 161 of file crys_rnd.h.
uint32_t EntropySizeBits |
Rnd source entropy size in bits
Definition at line 197 of file crys_rnd.h.
uint32_t EntropySourceSizeWords |
Entropy source size in words
Definition at line 166 of file crys_rnd.h.
uint32_t KeySizeWords |
Key size: 4 or 8 words according to security strength 128 bits or 256 bits
Definition at line 173 of file crys_rnd.h.
uint32_t PreviousAdditionalInput[CRYS_RND_ADDITINAL_INPUT_MAX_SIZE_WORDS+5] |
Previous additional input buffer.
Definition at line 159 of file crys_rnd.h.
uint32_t PreviousRandValue[SASI_AES_BLOCK_SIZE_IN_WORDS] |
Previous random data (used for continuous test).
Definition at line 155 of file crys_rnd.h.
uint32_t ReseedCounter |
Reseed counter (32 bits active) - indicates number of requests for entropy since instantiation or reseeding
Definition at line 170 of file crys_rnd.h.
uint32_t Seed[CRYS_RND_SEED_MAX_SIZE_WORDS] |
Random Seed buffer
Definition at line 152 of file crys_rnd.h.
uint32_t StateFlag |
State flag used internally in the code.
Definition at line 182 of file crys_rnd.h.
uint32_t TrngProcesState |
TRNG process state used internally in the code
Definition at line 190 of file crys_rnd.h.
uint32_t ValidTag |
Validation tag used internally in the code
Definition at line 194 of file crys_rnd.h.
Generated on Tue Jul 12 2022 12:46:55 by
