/openssl-master/crypto/ffc/ |
A D | ffc_params.c | 24 params->pcounter = -1; in ossl_ffc_params_init() 107 params->pcounter = index; in ossl_ffc_params_set_pcounter() 142 params->pcounter = counter; in ossl_ffc_params_set_validate_params() 148 int *pcounter) in ossl_ffc_params_get_validate_params() argument 154 if (pcounter != NULL) in ossl_ffc_params_get_validate_params() 155 *pcounter = params->pcounter; in ossl_ffc_params_get_validate_params() 196 dst->pcounter = src->pcounter; in ossl_ffc_params_copy() 235 ffc->pcounter)) in ossl_ffc_params_todata() 313 if (ffc->pcounter != -1) { in ossl_ffc_params_print() 315 || BIO_printf(bp, "counter: %d\n", ffc->pcounter) <= 0) in ossl_ffc_params_print()
|
A D | ffc_params_generate.c | 520 int mdsize, counter = 0, pcounter = 0, r = 0; in ossl_ffc_params_FIPS186_4_gen_verify() local 600 if (seed == NULL || params->pcounter < 0) { in ossl_ffc_params_FIPS186_4_gen_verify() 664 if (params->pcounter > counter) { in ossl_ffc_params_FIPS186_4_gen_verify() 668 counter = params->pcounter; in ossl_ffc_params_FIPS186_4_gen_verify() 698 cb, &pcounter, res); in ossl_ffc_params_FIPS186_4_gen_verify() 819 int counter = 0, pcounter = 0, use_random_seed; in ossl_ffc_params_FIPS186_2_gen_verify() local 906 if (seed_in == NULL || params->pcounter < 0) { in ossl_ffc_params_FIPS186_2_gen_verify() 944 if (params->pcounter > counter) { in ossl_ffc_params_FIPS186_2_gen_verify() 948 counter = params->pcounter; in ossl_ffc_params_FIPS186_2_gen_verify() 952 &pcounter, res); in ossl_ffc_params_FIPS186_2_gen_verify() [all …]
|
A D | ffc_backend.c | 65 ffc->pcounter = i; in ossl_ffc_params_fromdata()
|
/openssl-master/providers/implementations/kdfs/ |
A D | x942kdf.c | 101 unsigned char **pcounter) in DER_w_keyinfo() argument 107 && (pcounter == NULL in DER_w_keyinfo() 108 || (*pcounter = WPACKET_get_curr(pkt)) != NULL) in DER_w_keyinfo() 120 uint32_t keylen_bits, unsigned char **pcounter) in der_encode_sharedinfo() argument 134 && DER_w_keyinfo(pkt, der_oid, der_oidlen, pcounter) in der_encode_sharedinfo() 208 unsigned char *pcounter = NULL, *der_buf = NULL; in x942_encode_otherinfo() local 236 keylen_bits, &pcounter)) in x942_encode_otherinfo() 251 if (pcounter == NULL in x942_encode_otherinfo() 252 || pcounter[0] != 0x04 in x942_encode_otherinfo() 253 || pcounter[1] != 0x04) in x942_encode_otherinfo() [all …]
|
/openssl-master/providers/implementations/keymgmt/ |
A D | dsa_kmgmt.c | 65 int pcounter; member 389 gctx->pcounter = -1; in dsa_gen_init() 450 && !OSSL_PARAM_get_int(p, &gctx->pcounter)) in dsa_gen_set_params() 552 if (gctx->pcounter != -1) in dsa_gen() 553 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen()
|
A D | dh_kmgmt.c | 68 int pcounter; member 442 gctx->pcounter = -1; in dh_gen_init_base() 578 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->pcounter)) in dhx_gen_set_params() 703 if (gctx->pcounter != -1) in dh_gen() 704 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dh_gen()
|
/openssl-master/include/internal/ |
A D | ffc.h | 98 int pcounter; member 139 int *pcounter);
|
/openssl-master/doc/man7/ |
A D | EVP_PKEY-DH.pod | 25 I<seed>, I<pcounter> and I<gindex> or I<hindex> may need to be stored for 27 For B<DHX> the I<seed> and I<pcounter> can be stored in ASN1 data 213 int pcounter = ...; 229 extra_params[2] = OSSL_PARAM_construct_int("pcounter", &pcounter);
|
A D | EVP_PKEY-FFC.pod | 23 This means that optional FFC domain parameter values for I<seed>, I<pcounter> 25 For B<DH> the I<seed> and I<pcounter> can be stored in ASN1 data 88 =item "pcounter" (B<OSSL_PKEY_PARAM_FFC_PCOUNTER>) <integer> 181 =item "pcounter" (B<OSSL_PKEY_PARAM_FFC_PCOUNTER>) <integer>
|
A D | EVP_PKEY-DSA.pod | 11 This means that optional FFC domain parameter values for I<seed>, I<pcounter>
|
A D | migration_guide.pod | 2231 'Q', 'G' and 'pcounter' instead of 'prime', 'generator', 'subgroup order' and
|
/openssl-master/crypto/dsa/ |
A D | dsa_gen.c | 72 *counter_ret = dsa->params.pcounter; in DSA_generate_parameters_ex()
|
/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 605 &pcounter)) in test_fromdata_dh_named_group() 606 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_named_group() 671 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_fips186_4() local 786 &pcounter)) in test_fromdata_dh_fips186_4() 787 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_fips186_4() 1421 const int pcounter = 53; in test_fromdata_dsa_fips186_4() local 1476 pcounter)) in test_fromdata_dsa_fips186_4() 1539 || !TEST_int_eq(pcounter, pcounter_out)) in test_fromdata_dsa_fips186_4()
|
/openssl-master/test/recipes/30-test_evp_pkey_provided/ |
A D | DSA.pub.txt | 68 pcounter: 53
|
A D | DSA.priv.txt | 72 pcounter: 53
|
/openssl-master/providers/implementations/encode_decode/ |
A D | encode_key2text.c | 196 if (ffc->pcounter != -1) { in ffc_params_to_text() 197 if (BIO_printf(out, "pcounter: %d\n", ffc->pcounter) <= 0) in ffc_params_to_text()
|