Home
last modified time | relevance | path

Searched refs:reset_cnt (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/prngs/
H A Dfortuna.c112 ulong64 reset_cnt; in s_fortuna_reseed() local
133 reset_cnt = prng->u.fortuna.reset_cnt + 1; in s_fortuna_reseed()
136 if (x == 0 || ((reset_cnt >> (x-1)) & 1) == 0) { in s_fortuna_reseed()
173 prng->u.fortuna.reset_cnt = reset_cnt; in s_fortuna_reseed()
247 prng->u.fortuna.reset_cnt = prng->u.fortuna.wd = 0; in fortuna_start()
400 if (prng->u.fortuna.reset_cnt == 0) { in fortuna_read()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_prng.h39 ulong64 reset_cnt; /* number of times we have reseeded */ member