Home
last modified time | relevance | path

Searched refs:pbits (Results 1 – 16 of 16) sorted by relevance

/openssl/crypto/dh/
H A Ddh_gen.c39 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 Ddsa_gen.c26 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 DEVP_PKEY_DSA_paramgen.c26 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 Ddh.h22 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 Ddsa.h30 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
/openssl/doc/man7/
H A DEVP_PKEY-DSA.pod41 The following restrictions apply to the "pbits" field:
71 unsigned int pbits = 2048;
81 params[0] = OSSL_PARAM_construct_uint("pbits", &pbits);
H A DEVP_PKEY-DH.pod105 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 DEVP_PKEY-FFC.pod149 =item "pbits" (B<OSSL_PKEY_PARAM_FFC_PBITS>) <unsigned integer>
/openssl/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c61 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 Ddh_kmgmt.c62 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 Ddh_ctrl.c90 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 Dopenssl-genpkey.pod.in303 =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 Devp_extra_test2.c379 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 Dendecoder_legacy_test.c200 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 Dendecode_test.c1290 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 Ddh.h43 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);

Completed in 29 milliseconds