Home
last modified time | relevance | path

Searched refs:fortuna (Results 1 – 8 of 8) sorted by relevance

/external/dropbear/libtomcrypt/src/prngs/
Dfortuna.c58 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 …]
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_prng.h59 struct fortuna_prng fortuna; member
/external/dropbear/libtomcrypt/
Dmakefile.msvc111 …sa_make_key.obj src/pk/rsa/rsa_sign_hash.obj src/pk/rsa/rsa_verify_hash.obj src/prngs/fortuna.obj \
Dmakefile.unix147 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna
Dmakefile.icc201 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna
Dmakefile.shared206 src/pk/rsa/rsa_make_key.o src/pk/rsa/rsa_sign_hash.o src/pk/rsa/rsa_verify_hash.o src/prngs/fortuna
Dchanges28 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
Dcrypt.tex2850 \hline Fortuna & fortuna\_desc & Fast long-term PRNG (recommended) \\