Home
last modified time | relevance | path

Searched refs:seed_len (Results 1 – 20 of 20) sorted by relevance

/openssl/crypto/dsa/
H A Ddsa_gen.c48 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 Ddsa_depr.c32 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 Ddsa_local.h65 const unsigned char *seed, int seed_len,
/openssl/crypto/ec/
H A Dec_curve.c28 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 Deck_prn.c79 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 Dec_lib.c156 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 Dec_backend.c272 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 Decp_nistz256.c1453 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 Dec_asn1.c362 (int)group->seed_len)) { in ec_asn1_group2curve()
703 ret->seed_len = params->curve->seed->length; in EC_GROUP_new_from_ecparameters()
H A Dec_local.h223 size_t seed_len; member
/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c88 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 DDSA_generate_parameters.pod16 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 Dffc_params_generate.c828 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 Ddsa.h164 DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len,
174 int seed_len,
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c436 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 Dec_kmgmt.c990 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 Dacvp_test.c646 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 Dacvp_test.inc400 size_t seed_len;
/openssl/crypto/err/
H A Dopenssl.txt570 DSA_R_SEED_LEN_SMALL:110:seed_len is less than the length of q
/openssl/
H A DCHANGES.md12936 Also add 'seed' and 'seed_len' members to EC_GROUP with access

Completed in 109 milliseconds