Home
last modified time | relevance | path

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

/third_party/openssl/crypto/dsa/
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()
137 dctx->qbits = p1; in pkey_dsa_ctrl()
195 int qbits = atoi(value); in pkey_dsa_ctrl_str() local
196 return EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits); in pkey_dsa_ctrl_str()
234 dctx->qbits, &res, pcb); in pkey_dsa_paramgen()
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()
/third_party/openssl/crypto/dh/
Ddh_gen.c38 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, in ossl_dh_generate_ffc_parameters() argument
47 pbits, qbits, &res, cb); in ossl_dh_generate_ffc_parameters()
52 pbits, qbits, &res, cb); in ossl_dh_generate_ffc_parameters()
/third_party/openssl/crypto/ffc/
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()
/third_party/openssl/crypto/evp/
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()
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()
/third_party/openssl/doc/man7/
DEVP_PKEY-DSA.pod57 unsigned int qbits = 256;
67 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
DEVP_PKEY-DH.pod199 unsigned int qbits = 256;
208 params[1] = OSSL_PARAM_construct_uint("qbits", &qbits);
DEVP_PKEY-FFC.pod153 =item "qbits" (B<OSSL_PKEY_PARAM_FFC_QBITS>) <unsigned integer>
/third_party/openssl/providers/implementations/keymgmt/
Ddsa_kmgmt.c59 size_t qbits; member
414 gctx->qbits = 224; in dsa_gen_init()
497 && !OSSL_PARAM_get_size_t(p, &gctx->qbits)) in dsa_gen_set_params()
596 gctx->pbits, gctx->qbits, in dsa_gen()
Ddh_kmgmt.c62 size_t qbits; member
458 gctx->qbits = 224; in dh_gen_init_base()
619 && !OSSL_PARAM_get_size_t(p, &gctx->qbits)) in dhx_gen_set_params()
759 gctx->pbits, gctx->qbits, in dh_gen()
/third_party/openssl/doc/man1/
Dopenssl-genpkey.pod.in213 =item B<qbits>:I<numbits>
291 =item B<qbits>:I<numbits>
351 or B<sha256>. If set, then the number of bits in B<qbits> will match the output
352 size of the specified digest and the B<qbits> parameter will be
413 -pkeyopt qbits:224 -pkeyopt digest:SHA256 -pkeyopt gindex:1 -text
442 -pkeyopt pbits:2048 -pkeyopt qbits:224 -pkeyopt digest:SHA256 \
448 -pkeyopt pbits:1024 -pkeyopt qbits:160 -pkeyopt digest:SHA1 \
/third_party/openssl/ohos_lite/include/openssl/
Ddsa.h165 # define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \ argument
167 EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS, qbits, NULL)
/third_party/openssl/include/crypto/
Ddsa.h25 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
Ddh.h22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
/third_party/openssl/test/
Dendecoder_legacy_test.c199 static size_t qbits = 160; /* PVK only tolerates 160 Q bits */ variable
203 OSSL_PARAM_size_t("qbits", &qbits),
Dendecode_test.c1269 static size_t qbits = 160; /* PVK only tolerates 160 Q bits */ in setup_tests() local
1273 OSSL_PARAM_size_t("qbits", &qbits), in setup_tests()
/third_party/openssl/include/openssl/
Ddsa.h29 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
/third_party/ffmpeg/libavcodec/
Dac3enc.c1249 static inline int asym_quant(int c, int e, int qbits) in asym_quant() argument
1253 c = (((c * (1<<e)) >> (24 - qbits)) + 1) >> 1; in asym_quant()
1254 m = (1 << (qbits-1)); in asym_quant()
/third_party/openssl/doc/man3/
DEVP_PKEY_CTX_ctrl.pod126 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
395 parameter I<q> for DSA parameter generation to I<qbits>. If not specified, 224