Lines Matching refs:seedlen
135 int gindex, unsigned char *seed, size_t seedlen) in generate_canonical_g() argument
169 || !EVP_DigestUpdate(mctx, seed, seedlen) in generate_canonical_g()
314 int qsize, unsigned char *seed, size_t seedlen, in generate_q_fips186_4() argument
332 && RAND_bytes_ex(libctx, seed, seedlen, 0) <= 0) in generate_q_fips186_4()
339 if (!EVP_Digest(seed, seedlen, md, NULL, evpmd, NULL)) in generate_q_fips186_4()
521 size_t seedlen = 0; in ossl_ffc_params_FIPS186_4_gen_verify() local
584 seedlen = params->seedlen; in ossl_ffc_params_FIPS186_4_gen_verify()
585 if (seedlen == 0) in ossl_ffc_params_FIPS186_4_gen_verify()
586 seedlen = (size_t)mdsize; in ossl_ffc_params_FIPS186_4_gen_verify()
638 if ((seedlen * 8) < N) { in ossl_ffc_params_FIPS186_4_gen_verify()
643 seed_tmp = OPENSSL_malloc(seedlen); in ossl_ffc_params_FIPS186_4_gen_verify()
654 seed = OPENSSL_malloc(seedlen); in ossl_ffc_params_FIPS186_4_gen_verify()
683 if (!generate_q_fips186_4(ctx, q, md, qsize, seed, seedlen, in ossl_ffc_params_FIPS186_4_gen_verify()
696 memcpy(seed_tmp, seed, seedlen); in ossl_ffc_params_FIPS186_4_gen_verify()
697 r = generate_p(ctx, md, counter, n, seed_tmp, seedlen, q, p, L, in ossl_ffc_params_FIPS186_4_gen_verify()
749 params->gindex, seed, seedlen)) { in ossl_ffc_params_FIPS186_4_gen_verify()
781 if (!ossl_ffc_params_set_validate_params(params, seed, seedlen, in ossl_ffc_params_FIPS186_4_gen_verify()
824 size_t seed_len = params->seedlen; in ossl_ffc_params_FIPS186_2_gen_verify()