HomeSort by relevance Sort by last modified time
    Searched refs:pool_idx (Results 1 - 2 of 2) sorted by null

  /external/dropbear/libtomcrypt/src/prngs/
fortuna.c 146 prng->fortuna.pool_idx = prng->fortuna.pool0_len = prng->fortuna.wd = 0;
187 /* add s || length(in) || in to pool[pool_idx] */
190 if ((err = sha256_process(&prng->fortuna.pool[prng->fortuna.pool_idx], tmp, 2)) != CRYPT_OK) {
194 if ((err = sha256_process(&prng->fortuna.pool[prng->fortuna.pool_idx], in, inlen)) != CRYPT_OK) {
198 if (prng->fortuna.pool_idx == 0) {
201 if (++(prng->fortuna.pool_idx) == FORTUNA_POOLS) {
202 prng->fortuna.pool_idx = 0;
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_prng.h 27 unsigned long pool_idx, /* current pool we will add to */ member in struct:fortuna_prng

Completed in 87 milliseconds