/openssl-master/doc/man7/ |
A D | EVP_PKEY-DSA.pod | 12 and I<gindex> may need to be stored for validation purposes. For B<DSA> these 42 int gindex = 1; 52 params[2] = OSSL_PARAM_construct_int("gindex", &gindex);
|
A D | EVP_PKEY-DH.pod | 25 I<seed>, I<pcounter> and I<gindex> or I<hindex> may need to be stored for 28 (but the I<gindex> or I<hindex> can not be stored). 164 int gindex = 2; 176 params[2] = OSSL_PARAM_construct_int("gindex", &gindex); 212 int gindex = ...; /* for the validation */ 225 * NOTE: For unverifiable g use "hindex" instead of "gindex" 228 extra_params[1] = OSSL_PARAM_construct_int("gindex", &gindex);
|
A D | EVP_PKEY-FFC.pod | 24 and I<gindex> may need to be stored for validation purposes. 26 (but the I<gindex> is not). For B<DSA> however, these fields are not stored in 79 =item "gindex" (B<OSSL_PKEY_PARAM_FFC_GINDEX>) <integer> 83 Set this to a positive value from 0..FF to use this mode. This I<gindex> can 179 =item "gindex" (B<OSSL_PKEY_PARAM_FFC_GINDEX>) <integer>
|
/openssl-master/crypto/ffc/ |
A D | ffc_params.c | 25 params->gindex = FFC_UNVERIFIABLE_GINDEX; in ossl_ffc_params_init() 102 params->gindex = index; in ossl_ffc_params_set_gindex() 198 dst->gindex = src->gindex; in ossl_ffc_params_copy() 232 ffc->gindex)) in ossl_ffc_params_todata()
|
A D | ffc_params_generate.c | 135 int gindex, unsigned char *seed, size_t seedlen) in generate_canonical_g() argument 165 md[0] = (unsigned char)(gindex & 0xff); in generate_canonical_g() 746 if ((seed != NULL) && (params->gindex != FFC_UNVERIFIABLE_GINDEX)) { in ossl_ffc_params_FIPS186_4_gen_verify() 749 params->gindex, seed, seedlen)) { in ossl_ffc_params_FIPS186_4_gen_verify()
|
A D | ffc_backend.c | 59 ffc->gindex = i; in ossl_ffc_params_fromdata()
|
A D | ffc_params_validate.c | 112 tmpparams.gindex = FFC_UNVERIFIABLE_GINDEX; in ossl_ffc_params_simple_validate()
|
/openssl-master/crypto/evp/ |
A D | dsa_ctrl.c | 45 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dsa_paramgen_gindex() argument 53 *p++ = OSSL_PARAM_construct_int(OSSL_PKEY_PARAM_FFC_GINDEX, &gindex); in EVP_PKEY_CTX_set_dsa_paramgen_gindex()
|
A D | dh_ctrl.c | 49 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dh_paramgen_gindex() argument 57 *p++ = OSSL_PARAM_construct_int(OSSL_PKEY_PARAM_FFC_GINDEX, &gindex); in EVP_PKEY_CTX_set_dh_paramgen_gindex()
|
/openssl-master/providers/implementations/keymgmt/ |
A D | dsa_kmgmt.c | 63 int gindex; /* optional FIPS186-4 generator index (ignored if -1) */ member 388 gctx->gindex = -1; in dsa_gen_init() 446 && !OSSL_PARAM_get_int(p, &gctx->gindex)) in dsa_gen_set_params() 550 if (gctx->gindex != -1) { in dsa_gen() 551 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dsa_gen()
|
A D | dh_kmgmt.c | 65 int gindex; /* optional FIPS186-4 generator index (ignored if -1) */ member 440 gctx->gindex = -1; in dh_gen_init_base() 575 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->gindex)) in dhx_gen_set_params() 701 if (gctx->gindex != -1) { in dh_gen() 702 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dh_gen()
|
/openssl-master/test/ |
A D | evp_pkey_provided_test.c | 460 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_named_group() local 598 &gindex)) in test_fromdata_dh_named_group() 599 || !TEST_int_eq(gindex, -1) in test_fromdata_dh_named_group() 671 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_fips186_4() local 779 &gindex)) in test_fromdata_dh_fips186_4() 780 || !TEST_int_eq(gindex, -1) in test_fromdata_dh_fips186_4() 1420 const int gindex = 1; in test_fromdata_dsa_fips186_4() local 1473 gindex)) in test_fromdata_dsa_fips186_4() 1532 || !TEST_int_eq(gindex, gindex_out) in test_fromdata_dsa_fips186_4()
|
A D | ffc_internal_test.c | 372 params.gindex = 1; in ffc_params_gen_canonicalg_test()
|
/openssl-master/doc/man1/ |
A D | openssl-genpkey.pod.in | 238 =item B<gindex>:I<index> 363 =item B<gindex>:I<index> 409 gindex and seed are required for key validation purposes and are not saved to 413 -pkeyopt qbits:224 -pkeyopt digest:SHA256 -pkeyopt gindex:1 -text 443 -pkeyopt gindex:1 -pkeyopt dh_paramgen_type:2 449 -pkeyopt gindex:1 -pkeyopt dh_paramgen_type:1
|
/openssl-master/include/internal/ |
A D | ffc.h | 105 int gindex; member
|
/openssl-master/test/recipes/30-test_evp_pkey_provided/ |
A D | DSA.pub.txt | 67 gindex: 1
|
A D | DSA.priv.txt | 71 gindex: 1
|
/openssl-master/providers/implementations/encode_decode/ |
A D | encode_key2text.c | 192 if (ffc->gindex != -1) { in ffc_params_to_text() 193 if (BIO_printf(out, "gindex: %d\n", ffc->gindex) <= 0) in ffc_params_to_text()
|
/openssl-master/include/openssl/ |
A D | dsa.h | 33 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
|
A D | dh.h | 35 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
|
/openssl-master/doc/man3/ |
A D | EVP_PKEY_CTX_ctrl.pod | 132 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex); 147 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex); 410 EVP_PKEY_CTX_set_dsa_paramgen_gindex() sets the I<gindex> used by the generator 469 EVP_PKEY_CTX_set_dh_paramgen_gindex() sets the I<gindex> used by the generator G.
|