Home
last modified time | relevance | path

Searched refs:qbits (Results 1 – 19 of 19) sorted by relevance

/openssl/crypto/dsa/
H A Ddsa_pmeth.c30 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 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/crypto/ffc/
H A Dffc_key_generate.c25 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 DEVP_PKEY_DSA_paramgen.c27 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 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()
/openssl/crypto/evp/
H A Ddsa_ctrl.c91 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 Ddh_ctrl.c104 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 DEVP_PKEY-DSA.pod72 unsigned int qbits = 256;
82 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
H A DEVP_PKEY-DH.pod201 unsigned int qbits = 256;
210 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
H A DEVP_PKEY-FFC.pod153 =item "qbits" (B<OSSL_PKEY_PARAM_FFC_QBITS>) <unsigned integer>
/openssl/include/crypto/
H A Ddsa.h30 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
H A Ddh.h22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
/openssl/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c62 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 Ddh_kmgmt.c63 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 Dopenssl-genpkey.pod.in231 =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 Dendecoder_legacy_test.c199 static size_t qbits = 160; /* PVK only tolerates 160 Q bits */ variable
203 OSSL_PARAM_size_t("qbits", &qbits),
H A Dendecode_test.c1289 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 Ddsa.h44 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
/openssl/doc/man3/
H A DEVP_PKEY_CTX_ctrl.pod126 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

Completed in 56 milliseconds