Home
last modified time | relevance | path

Searched refs:LTC_FORTUNA_POOLS (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/prngs/
H A Dfortuna.c33 #ifndef LTC_FORTUNA_POOLS
34 #warning LTC_FORTUNA_POOLS was not previously defined (old headers?)
35 #define LTC_FORTUNA_POOLS 32 macro
38 #if LTC_FORTUNA_POOLS < 4 || LTC_FORTUNA_POOLS > 32
39 #error LTC_FORTUNA_POOLS must be in [4..32]
135 for (x = 0; x < LTC_FORTUNA_POOLS; x++) { in s_fortuna_reseed()
238 for (x = 0; x < LTC_FORTUNA_POOLS; x++) { in fortuna_start()
252 for (x = 0; x < LTC_FORTUNA_POOLS; x++) { in fortuna_start()
307 LTC_ARGCHK(pool < LTC_FORTUNA_POOLS); in fortuna_add_random_event()
339 prng->u.fortuna.pool_idx %= LTC_FORTUNA_POOLS; in fortuna_add_entropy()
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt.c316 " Fortuna (" NAME_VALUE(LTC_FORTUNA_POOLS) ", "
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_custom.h405 #ifndef LTC_FORTUNA_POOLS
407 #define LTC_FORTUNA_POOLS 32 macro
H A Dtomcrypt_prng.h29 hash_state pool[LTC_FORTUNA_POOLS]; /* the pools */