Knight KE / Mbed OS Game_Master
Embed: (wiki syntax)

« Back to documentation index

CRYS_RND_State_t Struct Reference

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

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.

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.