Lines Matching refs:seedlen
79 size_t outlen = drbg->seedlen; in hash_df()
152 assert(drbg->seedlen >= 1 && inlen >= 1 && inlen <= drbg->seedlen); in add_bytes()
154 d = &dst[drbg->seedlen - 1]; in add_bytes()
165 for (i = drbg->seedlen - inlen; i > 0; --i, d--) { in add_bytes()
183 && EVP_DigestUpdate(ctx, hash->V, drbg->seedlen) in add_hash_to_v()
214 memcpy(hash->vtmp, hash->V, drbg->seedlen); in hash_gen()
218 || !EVP_DigestUpdate(hash->ctx, hash->vtmp, drbg->seedlen)) in hash_gen()
263 && hash_df1(drbg, hash->C, 0x00, hash->V, drbg->seedlen); in drbg_hash_instantiate()
296 if (!hash_df(drbg, hash->C, 0x01, hash->V, drbg->seedlen, ent, ent_len, in drbg_hash_reseed()
299 memcpy(hash->V, hash->C, drbg->seedlen); in drbg_hash_reseed()
301 return hash_df1(drbg, hash->C, 0x00, hash->V, drbg->seedlen); in drbg_hash_reseed()
347 && add_bytes(drbg, hash->V, hash->C, drbg->seedlen) in drbg_hash_generate()
399 ctx->seedlen = HASH_PRNG_MAX_SEEDLEN; in drbg_hash_new()
483 ctx->seedlen = HASH_PRNG_MAX_SEEDLEN; in drbg_hash_set_ctx_params()
485 ctx->seedlen = HASH_PRNG_SMALL_SEEDLEN; in drbg_hash_set_ctx_params()