Lines Matching full:inlen
167 @param inlen Length of the data to add
171 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng)
181 /* ensure inlen <= 32 */
182 if (inlen > 32) {
189 tmp[1] = (unsigned char)inlen;
194 if ((err = sha256_process(&prng->fortuna.pool[prng->fortuna.pool_idx], in, inlen)) != CRYPT_OK) {
199 prng->fortuna.pool0_len += inlen;
378 @param inlen Size of the state
382 int fortuna_import(const unsigned char *in, unsigned long inlen, prng_state *prng)
389 if (inlen != 32*FORTUNA_POOLS) {