Searched refs:fortuna (Results 1 – 8 of 8) sorted by relevance
58 IV = prng->fortuna.IV; in fortuna_update_iv()72 ++prng->fortuna.reset_cnt; in fortuna_reseed()76 if ((err = sha256_process(&md, prng->fortuna.K, 32)) != CRYPT_OK) { in fortuna_reseed()82 if (x == 0 || ((prng->fortuna.reset_cnt >> (x-1)) & 1) == 0) { in fortuna_reseed()84 if ((err = sha256_done(&prng->fortuna.pool[x], tmp)) != CRYPT_OK) { in fortuna_reseed()94 if ((err = sha256_init(&prng->fortuna.pool[x])) != CRYPT_OK) { in fortuna_reseed()104 if ((err = sha256_done(&md, prng->fortuna.K)) != CRYPT_OK) { in fortuna_reseed()107 if ((err = rijndael_setup(prng->fortuna.K, 32, 0, &prng->fortuna.skey)) != CRYPT_OK) { in fortuna_reseed()113 prng->fortuna.pool0_len = 0; in fortuna_reseed()114 prng->fortuna.wd = 0; in fortuna_reseed()[all …]
59 struct fortuna_prng fortuna; member
111 …sa_make_key.obj src/pk/rsa/rsa_sign_hash.obj src/pk/rsa/rsa_verify_hash.obj src/prngs/fortuna.obj \
147 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna…
201 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna…
206 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna…
28 v1.15 -- Andreas Lange found that if sha256_init DID fail in fortuna it wouldn't clean up the state…90 if I ever make fortuna pluggable
2850 \hline Fortuna & fortuna\_desc & Fast long-term PRNG (recommended) \\