Home
last modified time | relevance | path

Searched refs:pcounter (Results 1 – 17 of 17) sorted by relevance

/openssl/crypto/ffc/
H A Dffc_params.c23 params->pcounter = -1; in ossl_ffc_params_init()
111 params->pcounter = index; in ossl_ffc_params_set_pcounter()
145 params->pcounter = counter; in ossl_ffc_params_set_validate_params()
151 int *pcounter) in ossl_ffc_params_get_validate_params() argument
157 if (pcounter != NULL) in ossl_ffc_params_get_validate_params()
158 *pcounter = params->pcounter; in ossl_ffc_params_get_validate_params()
201 dst->pcounter = src->pcounter; in ossl_ffc_params_copy()
238 ffc->pcounter)) in ossl_ffc_params_todata()
316 if (ffc->pcounter != -1) { in ossl_ffc_params_print()
318 || BIO_printf(bp, "counter: %d\n", ffc->pcounter) <= 0) in ossl_ffc_params_print()
H A Dffc_params_generate.c520 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()
820 int counter = 0, pcounter = 0, use_random_seed; in ossl_ffc_params_FIPS186_2_gen_verify() local
910 if (seed_in == NULL || params->pcounter < 0) { in ossl_ffc_params_FIPS186_2_gen_verify()
948 if (params->pcounter > counter) { in ossl_ffc_params_FIPS186_2_gen_verify()
952 counter = params->pcounter; in ossl_ffc_params_FIPS186_2_gen_verify()
956 &pcounter, res); in ossl_ffc_params_FIPS186_2_gen_verify()
[all …]
H A Dffc_backend.c63 ffc->pcounter = i; in ossl_ffc_params_fromdata()
/openssl/providers/implementations/kdfs/
H A Dx942kdf.c103 unsigned char **pcounter) in DER_w_keyinfo() argument
109 && (pcounter == NULL in DER_w_keyinfo()
110 || (*pcounter = WPACKET_get_curr(pkt)) != NULL) in DER_w_keyinfo()
122 uint32_t keylen_bits, unsigned char **pcounter) in der_encode_sharedinfo() argument
136 && DER_w_keyinfo(pkt, der_oid, der_oidlen, pcounter) in der_encode_sharedinfo()
210 unsigned char *pcounter = NULL, *der_buf = NULL; in x942_encode_otherinfo() local
238 keylen_bits, &pcounter)) in x942_encode_otherinfo()
253 if (pcounter == NULL in x942_encode_otherinfo()
254 || pcounter[0] != 0x04 in x942_encode_otherinfo()
255 || pcounter[1] != 0x04) in x942_encode_otherinfo()
[all …]
/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramvalidate.c51 static const int pcounter = 363; variable
162 params[3] = OSSL_PARAM_construct_int(OSSL_PKEY_PARAM_FFC_PCOUNTER, (int *)&pcounter); in main()
/openssl/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c64 int pcounter; member
425 gctx->pcounter = -1; in dsa_gen_init()
495 && !OSSL_PARAM_get_int(p, &gctx->pcounter)) in dsa_gen_set_params()
610 if (gctx->pcounter != -1) in dsa_gen()
611 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen()
H A Ddh_kmgmt.c69 int pcounter; member
475 gctx->pcounter = -1; in dh_gen_init_base()
615 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->pcounter)) in dhx_gen_set_params()
753 if (gctx->pcounter != -1) in dh_gen()
754 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dh_gen()
/openssl/include/internal/
H A Dffc.h104 int pcounter; member
147 int *pcounter);
/openssl/crypto/dsa/
H A Ddsa_gen.c72 *counter_ret = dsa->params.pcounter; in DSA_generate_parameters_ex()
/openssl/doc/man7/
H A DEVP_PKEY-FFC.pod23 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>
H A DEVP_PKEY-DH.pod137 I<seed>, I<pcounter> and I<gindex> or I<hindex> may need to be stored for
139 For B<DHX> the I<seed> and I<pcounter> can be stored in ASN1 data
246 int pcounter = ...;
262 extra_params[2] = OSSL_PARAM_construct_int("pcounter", &pcounter);
H A DEVP_PKEY-DSA.pod11 This means that optional FFC domain parameter values for I<seed>, I<pcounter>
H A Dossl-guide-migration.pod2338 'Q', 'G' and 'pcounter' instead of 'prime', 'generator', 'subgroup order' and
/openssl/test/
H A Devp_pkey_provided_test.c902 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_named_group() local
1047 &pcounter)) in test_fromdata_dh_named_group()
1048 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_named_group()
1116 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_fips186_4() local
1231 &pcounter)) in test_fromdata_dh_fips186_4()
1232 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_fips186_4()
1928 const int pcounter = 53; in test_fromdata_dsa_fips186_4() local
1983 pcounter)) in test_fromdata_dsa_fips186_4()
2046 || !TEST_int_eq(pcounter, pcounter_out)) in test_fromdata_dsa_fips186_4()
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DDSA.pub.txt68 pcounter: 53
H A DDSA.priv.txt72 pcounter: 53
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c199 if (ffc->pcounter != -1) { in ffc_params_to_text()
200 if (BIO_printf(out, "pcounter: %d\n", ffc->pcounter) <= 0) in ffc_params_to_text()

Completed in 49 milliseconds