/openssl/crypto/dsa/ |
H A D | dsa_pmeth.c | 30 int qbits; /* size of q in bits (default: 224) */ member 45 dctx->qbits = 224; in pkey_dsa_init() 65 dctx->qbits = sctx->qbits; in pkey_dsa_copy() 147 dctx->qbits = p1; in pkey_dsa_ctrl() 205 int qbits = atoi(value); in pkey_dsa_ctrl_str() local 206 return EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits); in pkey_dsa_ctrl_str() 244 dctx->qbits, &res, pcb); in pkey_dsa_paramgen()
|
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/crypto/ffc/ |
H A D | ffc_key_generate.c | 25 int ret = 0, qbits = BN_num_bits(params->q); in ossl_ffc_generate_private_key() local 35 if (N < 2 * s || N > qbits) in ossl_ffc_generate_private_key()
|
/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramgen.c | 27 unsigned int qbits = 256; in main() local 42 params[2] = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_QBITS, &qbits); in main()
|
/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()
|
/openssl/crypto/evp/ |
H A D | dsa_ctrl.c | 91 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dsa_paramgen_q_bits() argument 95 size_t bits2 = qbits; in EVP_PKEY_CTX_set_dsa_paramgen_q_bits()
|
H A D | dh_ctrl.c | 104 int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dh_paramgen_subprime_len() argument 108 size_t bits2 = qbits; in EVP_PKEY_CTX_set_dh_paramgen_subprime_len()
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-DSA.pod | 72 unsigned int qbits = 256; 82 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
|
H A D | EVP_PKEY-DH.pod | 201 unsigned int qbits = 256; 210 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
|
H A D | EVP_PKEY-FFC.pod | 153 =item "qbits" (B<OSSL_PKEY_PARAM_FFC_QBITS>) <unsigned integer>
|
/openssl/include/crypto/ |
H A D | dsa.h | 30 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
|
H A D | dh.h | 22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
|
/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 62 size_t qbits; member 421 gctx->qbits = 224; in dsa_gen_init() 517 && !OSSL_PARAM_get_size_t(p, &gctx->qbits)) in dsa_gen_set_params() 665 gctx->pbits, gctx->qbits, in dsa_gen()
|
H A D | dh_kmgmt.c | 63 size_t qbits; member 464 gctx->qbits = 224; in dh_gen_init_base() 628 && !OSSL_PARAM_get_size_t(p, &gctx->qbits)) in dhx_gen_set_params() 779 gctx->pbits, gctx->qbits, in dh_gen()
|
/openssl/doc/man1/ |
H A D | openssl-genpkey.pod.in | 231 =item B<qbits>:I<numbits> 309 =item B<qbits>:I<numbits> 369 or B<sha256>. If set, then the number of bits in B<qbits> will match the output 370 size of the specified digest and the B<qbits> parameter will be 431 -pkeyopt qbits:224 -pkeyopt digest:SHA256 -pkeyopt gindex:1 -text 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 | endecoder_legacy_test.c | 199 static size_t qbits = 160; /* PVK only tolerates 160 Q bits */ variable 203 OSSL_PARAM_size_t("qbits", &qbits),
|
H A D | endecode_test.c | 1289 static size_t qbits = 160; /* PVK only tolerates 160 Q bits */ in setup_tests() local 1293 OSSL_PARAM_size_t("qbits", &qbits), in setup_tests()
|
/openssl/include/openssl/ |
H A D | dsa.h | 44 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_ctrl.pod | 126 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits); 412 parameter I<q> for DSA parameter generation to I<qbits>. If not specified, 224
|