| /freebsd/crypto/openssl/crypto/ffc/ |
| H A D | ffc_params.c | 23 params->pcounter = -1; in ossl_ffc_params_init() 110 params->pcounter = index; in ossl_ffc_params_set_pcounter() 144 params->pcounter = counter; in ossl_ffc_params_set_validate_params() 150 int *pcounter) in ossl_ffc_params_get_validate_params() argument 156 if (pcounter != NULL) in ossl_ffc_params_get_validate_params() 157 *pcounter = params->pcounter; in ossl_ffc_params_get_validate_params() 200 dst->pcounter = src->pcounter; in ossl_ffc_params_copy() 237 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 D | ffc_params_generate.c | 523 int mdsize, counter = 0, pcounter = 0, r = 0; in ossl_ffc_params_FIPS186_4_gen_verify() local 603 if (seed == NULL || params->pcounter < 0) { in ossl_ffc_params_FIPS186_4_gen_verify() 667 if (params->pcounter > counter) { in ossl_ffc_params_FIPS186_4_gen_verify() 671 counter = params->pcounter; in ossl_ffc_params_FIPS186_4_gen_verify() 701 cb, &pcounter, res); in ossl_ffc_params_FIPS186_4_gen_verify() 722 if (verify && (pcounter != counter || (BN_cmp(p, params->p) != 0))) in ossl_ffc_params_FIPS186_4_gen_verify() 785 pcounter)) in ossl_ffc_params_FIPS186_4_gen_verify() 823 int counter = 0, pcounter = 0, use_random_seed; in ossl_ffc_params_FIPS186_2_gen_verify() local 913 if (seed_in == NULL || params->pcounter < 0) { in ossl_ffc_params_FIPS186_2_gen_verify() 951 if (params->pcounter > counter) { in ossl_ffc_params_FIPS186_2_gen_verify() [all …]
|
| H A D | ffc_backend.c | 63 ffc->pcounter = i; in ossl_ffc_params_fromdata()
|
| /freebsd/crypto/openssl/providers/implementations/kdfs/ |
| H A D | x942kdf.c | 105 unsigned char **pcounter) in DER_w_keyinfo() argument 111 && (pcounter == NULL in DER_w_keyinfo() 112 || (*pcounter = WPACKET_get_curr(pkt)) != NULL) in DER_w_keyinfo() 124 uint32_t keylen_bits, unsigned char **pcounter) in der_encode_sharedinfo() argument 137 && DER_w_keyinfo(pkt, der_oid, der_oidlen, pcounter) in der_encode_sharedinfo() 211 unsigned char *pcounter = NULL, *der_buf = NULL; in x942_encode_otherinfo() local 239 keylen_bits, &pcounter)) in x942_encode_otherinfo() 254 if (pcounter == NULL in x942_encode_otherinfo() 255 || pcounter[0] != 0x04 in x942_encode_otherinfo() 256 || pcounter[1] != 0x04) in x942_encode_otherinfo() [all …]
|
| /freebsd/crypto/openssl/demos/pkey/ |
| H A D | EVP_PKEY_DSA_paramvalidate.c | 49 static const int pcounter = 363; variable 161 params[3] = OSSL_PARAM_construct_int(OSSL_PKEY_PARAM_FFC_PCOUNTER, (int *)&pcounter); in main()
|
| /freebsd/sys/dev/smartpqi/ |
| H A D | smartpqi_request.c | 2186 increment_this_counter(io_counters_t *pcounter, IO_PATH_T path, io_type_t io_type) in increment_this_counter() argument 2193 ret_val = OS_ATOMIC64_INC(&pcounter->aio_read_cnt); in increment_this_counter() 2195 ret_val = OS_ATOMIC64_INC(&pcounter->aio_write_cnt); in increment_this_counter() 2197 ret_val = OS_ATOMIC64_INC(&pcounter->aio_non_read_write); in increment_this_counter() 2202 ret_val = OS_ATOMIC64_INC(&pcounter->raid_read_cnt); in increment_this_counter() 2204 ret_val = OS_ATOMIC64_INC(&pcounter->raid_write_cnt); in increment_this_counter() 2206 ret_val = OS_ATOMIC64_INC(&pcounter->raid_non_read_write); in increment_this_counter() 2218 io_counters_t *pcounter = &softs->counters[type_index]; in pqisrc_increment_io_counters() local 2221 ret_val = increment_this_counter(pcounter, rcb->path, io_type); in pqisrc_increment_io_counters() 2241 print_this_counter(pqisrc_softstate_t const *softs, io_counters_t const *pcounter, char const *msg) in print_this_counter() argument [all …]
|
| H A D | smartpqi_prototypes.h | 187 void print_this_counter(pqisrc_softstate_t const *softs, io_counters_t const *pcounter, char const …
|
| /freebsd/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | dsa_kmgmt.c | 67 int pcounter; member 426 gctx->pcounter = -1; in dsa_gen_init() 500 && !OSSL_PARAM_get_int(p, &gctx->pcounter)) in dsa_gen_set_params() 651 if (gctx->pcounter != -1) in dsa_gen() 652 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen()
|
| H A D | dh_kmgmt.c | 71 int pcounter; member 476 gctx->pcounter = -1; in dh_gen_init_base() 614 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()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | ffc.h | 104 int pcounter; member 147 int *pcounter);
|
| /freebsd/crypto/openssl/doc/man7/ |
| H 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>
|
| H A D | EVP_PKEY-DH.pod | 138 I<seed>, I<pcounter> and I<gindex> or I<hindex> may need to be stored for 140 For B<DHX> the I<seed> and I<pcounter> can be stored in ASN1 data 248 int pcounter = ...; 264 extra_params[2] = OSSL_PARAM_construct_int("pcounter", &pcounter);
|
| H A D | EVP_PKEY-DSA.pod | 11 This means that optional FFC domain parameter values for I<seed>, I<pcounter>
|
| H A D | ossl-guide-migration.pod | 2348 'Q', 'G' and 'pcounter' instead of 'prime', 'generator', 'subgroup order' and
|
| /freebsd/crypto/openssl/crypto/dsa/ |
| H A D | dsa_gen.c | 72 *counter_ret = dsa->params.pcounter; in DSA_generate_parameters_ex()
|
| /freebsd/crypto/openssl/test/ |
| H A D | evp_pkey_provided_test.c | 887 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_named_group() local 1058 &pcounter)) in test_fromdata_dh_named_group() 1059 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_named_group() 1127 int gindex = 0, pcounter = 0, hindex = 0; in test_fromdata_dh_fips186_4() local 1267 &pcounter)) in test_fromdata_dh_fips186_4() 1268 || !TEST_int_eq(pcounter, -1)) in test_fromdata_dh_fips186_4() 1955 const int pcounter = 53; in test_fromdata_dsa_fips186_4() local 2010 pcounter)) in test_fromdata_dsa_fips186_4() 2074 || !TEST_int_eq(pcounter, pcounter_out)) in test_fromdata_dsa_fips186_4()
|
| /freebsd/crypto/openssl/crypto/encode_decode/ |
| H A D | encoder_lib.c | 851 if (ffc->pcounter != -1) { in ossl_bio_print_ffc_params() 852 if (BIO_printf(out, "pcounter: %d\n", ffc->pcounter) <= 0) in ossl_bio_print_ffc_params()
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_pkey_provided/ |
| H A D | DSA.pub.txt | 68 pcounter: 53
|
| H A D | DSA.priv.txt | 72 pcounter: 53
|
| /freebsd/contrib/sendmail/src/ |
| H A D | srvrsmtp.c | 4798 checksmtpattack(pcounter, maxcount, waitnow, cname, e) in checksmtpattack() argument 4799 volatile unsigned int *pcounter; in checksmtpattack() 4808 if (++(*pcounter) >= maxcount) 4813 if (*pcounter == maxcount && LogLevel > 5) 4817 CurSmtpClient, cname, *pcounter); 4819 shift = *pcounter - maxcount; 4824 #define IS_ATTACK(s) ((MaxChildren > 0 && *pcounter >= maxcount * 2) \ 4828 (void) sleep(*pcounter / maxcount); 4829 s -= *pcounter / maxcount;
|