/openssl/crypto/dh/ |
H A D | dh_gen.c | 39 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, in ossl_dh_generate_ffc_parameters() argument 48 pbits, qbits, &res, cb); in ossl_dh_generate_ffc_parameters() 53 pbits, qbits, &res, cb); in ossl_dh_generate_ffc_parameters() 59 int ossl_dh_get_named_group_uid_from_size(int pbits) in ossl_dh_get_named_group_uid_from_size() argument 70 switch (pbits) { in ossl_dh_get_named_group_uid_from_size()
|
/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 26 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits, in ossl_dsa_generate_ffc_parameters() argument 35 pbits, qbits, &res, cb); in ossl_dsa_generate_ffc_parameters() 40 pbits, qbits, &res, cb); in ossl_dsa_generate_ffc_parameters()
|
/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramgen.c | 26 unsigned int pbits = 2048; in main() local 41 params[1] = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in main()
|
/openssl/include/crypto/ |
H A D | dh.h | 22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, 26 int ossl_dh_get_named_group_uid_from_size(int pbits);
|
H A D | dsa.h | 30 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-DSA.pod | 41 The following restrictions apply to the "pbits" field: 71 unsigned int pbits = 2048; 81 params[0] = OSSL_PARAM_construct_uint("pbits", &pbits);
|
H A D | EVP_PKEY-DH.pod | 105 This specifies that a named safe prime name will be chosen using the "pbits" 115 =item "pbits" (B<OSSL_PKEY_PARAM_FFC_PBITS>) <unsigned integer> 200 unsigned int pbits = 2048; 209 params[0] = OSSL_PARAM_construct_uint("pbits", &pbits);
|
H A D | EVP_PKEY-FFC.pod | 149 =item "pbits" (B<OSSL_PKEY_PARAM_FFC_PBITS>) <unsigned integer>
|
/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 61 size_t pbits; member 420 gctx->pbits = 2048; in dsa_gen_init() 514 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dsa_gen_set_params() 621 gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : in dsa_gen() 665 gctx->pbits, gctx->qbits, in dsa_gen()
|
H A D | dh_kmgmt.c | 62 size_t pbits; member 463 gctx->pbits = 2048; in dh_gen_init_base() 562 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dh_gen_common_set_params() 733 gctx->group_nid = ossl_dh_get_named_group_uid_from_size(gctx->pbits); in dh_gen() 775 ret = DH_generate_parameters_ex(dh, gctx->pbits, in dh_gen() 779 gctx->pbits, gctx->qbits, in dh_gen()
|
/openssl/crypto/evp/ |
H A D | dh_ctrl.c | 90 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits) in EVP_PKEY_CTX_set_dh_paramgen_prime_len() argument 94 size_t bits = pbits; in EVP_PKEY_CTX_set_dh_paramgen_prime_len()
|
/openssl/doc/man1/ |
H A D | openssl-genpkey.pod.in | 303 =item B<pbits>:I<numbits> 347 Can be used with the option B<pbits> to select one of 430 openssl genpkey -genparam -algorithm DSA -out dsap.pem -pkeyopt pbits:2048 \ 460 -pkeyopt pbits:2048 -pkeyopt qbits:224 -pkeyopt digest:SHA256 \ 466 -pkeyopt pbits:1024 -pkeyopt qbits:160 -pkeyopt digest:SHA1 \
|
/openssl/test/ |
H A D | evp_extra_test2.c | 379 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dh_paramgen() local 381 params[0] = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dh_paramgen() 1183 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dsa_fromdata_digest_prop() local 1185 *p++ = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dsa_fromdata_digest_prop()
|
H A D | endecoder_legacy_test.c | 200 static size_t pbits = 1024; /* With 160 Q bits, we MUST use 1024 P bits */ variable 202 OSSL_PARAM_size_t("pbits", &pbits),
|
H A D | endecode_test.c | 1290 static size_t pbits = 1024; /* With 160 Q bits, we MUST use 1024 P bits */ in setup_tests() local 1292 OSSL_PARAM_size_t("pbits", &pbits), in setup_tests()
|
/openssl/include/openssl/ |
H A D | dh.h | 43 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
|