/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 48 const unsigned char *seed_in, int seed_len, in DSA_generate_parameters_ex() argument 53 return dsa->meth->dsa_paramgen(dsa, bits, seed_in, seed_len, in DSA_generate_parameters_ex() 56 && !ossl_ffc_params_set_validate_params(&dsa->params, seed_in, seed_len, in DSA_generate_parameters_ex() 61 if (bits < 2048 && seed_len <= 20) { in DSA_generate_parameters_ex()
|
H A D | dsa_depr.c | 32 unsigned char *seed_in, int seed_len, in DSA_generate_parameters() argument 48 if (DSA_generate_parameters_ex(ret, bits, seed_in, seed_len, in DSA_generate_parameters()
|
H A D | dsa_local.h | 65 const unsigned char *seed, int seed_len,
|
/openssl/crypto/ec/ |
H A D | ec_curve.c | 28 seed_len, param_len; member 3160 int seed_len, param_len; in ec_group_new_from_data() local 3176 seed_len = data->seed_len; in ec_group_new_from_data() 3197 params += seed_len; /* skip seed */ in ec_group_new_from_data() 3253 if (seed_len) { in ec_group_new_from_data() 3254 if (!EC_GROUP_set_seed(group, params - seed_len, seed_len)) { in ec_group_new_from_data() 3379 size_t i, seed_len; in ossl_ec_curve_nid_from_params() local 3391 seed_len = EC_GROUP_get_seed_len(group); in ossl_ec_curve_nid_from_params() 3447 params = params_seed + data->seed_len; in ossl_ec_curve_nid_from_params() 3457 && (data->seed_len == 0 || seed_len == 0 in ossl_ec_curve_nid_from_params() [all …]
|
H A D | eck_prn.c | 79 size_t seed_len = 0, gen_buf_len = 0; in ECPKParameters_print() local 159 seed_len = EC_GROUP_get_seed_len(x); in ECPKParameters_print() 210 if (seed && !print_bin(bp, "Seed:", seed, seed_len, off)) in ECPKParameters_print()
|
H A D | ec_lib.c | 156 OPENSSL_clear_free(group->seed, group->seed_len); in EC_GROUP_clear_free() 254 if ((dest->seed = OPENSSL_malloc(src->seed_len)) == NULL) in EC_GROUP_copy() 256 if (!memcpy(dest->seed, src->seed, src->seed_len)) in EC_GROUP_copy() 258 dest->seed_len = src->seed_len; in EC_GROUP_copy() 262 dest->seed_len = 0; in EC_GROUP_copy() 533 group->seed_len = 0; in EC_GROUP_set_seed() 541 group->seed_len = len; in EC_GROUP_set_seed() 553 return group->seed_len; in EC_GROUP_get_seed_len()
|
H A D | ec_backend.c | 272 size_t seed_len = EC_GROUP_get_seed_len(group); in ec_group_explicit_todata() local 275 && seed_len > 0 in ec_group_explicit_todata() 278 seed, seed_len)) { in ec_group_explicit_todata()
|
H A D | ecp_nistz256.c | 1453 const int seed_len = 20; in ecp_nistz256group_full_init() local 1466 if (!EC_GROUP_set_seed(group, params, seed_len)) { in ecp_nistz256group_full_init() 1470 params += seed_len; in ecp_nistz256group_full_init()
|
H A D | ec_asn1.c | 362 (int)group->seed_len)) { in ec_asn1_group2curve() 703 ret->seed_len = params->curve->seed->length; in EC_GROUP_new_from_ecparameters()
|
H A D | ec_local.h | 223 size_t seed_len; member
|
/openssl/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 88 const unsigned char *seed, size_t seed_len, 465 const unsigned char *seed, size_t seed_len, in tls1_prf_P_hash() argument 483 if (seed != NULL && !EVP_MAC_update(ctx_Ai, seed, seed_len)) in tls1_prf_P_hash() 505 if (seed != NULL && !EVP_MAC_update(ctx, seed, seed_len)) in tls1_prf_P_hash() 551 const unsigned char *seed, size_t seed_len, in tls1_prf_alg() argument 563 seed, seed_len, out, olen)) in tls1_prf_alg() 570 seed, seed_len, tmp, olen)) { in tls1_prf_alg() 581 if (!tls1_prf_P_hash(mdctx, sec, slen, seed, seed_len, out, olen)) in tls1_prf_alg()
|
/openssl/doc/man3/ |
H A D | DSA_generate_parameters.pod | 16 const unsigned char *seed, int seed_len, 24 DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, 42 If B<seed_len> is less than the length of q, an error is returned.
|
/openssl/crypto/ffc/ |
H A D | ffc_params_generate.c | 828 size_t seed_len = params->seedlen; in ossl_ffc_params_FIPS186_2_gen_verify() local 876 if (seed_len < qsize) { in ossl_ffc_params_FIPS186_2_gen_verify() 881 if (seed_len > qsize) in ossl_ffc_params_FIPS186_2_gen_verify() 882 seed_len = qsize; in ossl_ffc_params_FIPS186_2_gen_verify() 883 memcpy(seed, seed_in, seed_len); in ossl_ffc_params_FIPS186_2_gen_verify()
|
/openssl/include/openssl/ |
H A D | dsa.h | 164 DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, 174 int seed_len,
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 436 size_t seed_len = 0; in ec_param_explicit_to_text() local 450 seed_len = EC_GROUP_get_seed_len(group); in ec_param_explicit_to_text() 461 && !print_labeled_buf(out, "Seed:", seed, seed_len))) in ec_param_explicit_to_text()
|
/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 990 size_t gen_len, seed_len; member 1130 COPY_OCTET_PARAM(params, OSSL_PKEY_PARAM_EC_SEED, gctx->seed, gctx->seed_len); in ec_gen_set_params() 1195 gctx->seed, gctx->seed_len)) in ec_gen_set_group_from_params()
|
/openssl/test/ |
H A D | acvp_test.c | 646 const unsigned char *seed, size_t seed_len, in dsa_create_pkey() argument 682 OSSL_PKEY_PARAM_FFC_SEED, seed, seed_len))) in dsa_create_pkey() 725 tst->seed, tst->seed_len, tst->counter, in dsa_pqver_test()
|
H A D | acvp_test.inc | 400 size_t seed_len;
|
/openssl/crypto/err/ |
H A D | openssl.txt | 570 DSA_R_SEED_LEN_SMALL:110:seed_len is less than the length of q
|
/openssl/ |
H A D | CHANGES.md | 12942 Also add 'seed' and 'seed_len' members to EC_GROUP with access
|