/third_party/openssl/crypto/dh/ |
D | dh_gen.c | 38 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() 58 int ossl_dh_get_named_group_uid_from_size(int pbits) in ossl_dh_get_named_group_uid_from_size() argument 69 switch (pbits) { in ossl_dh_get_named_group_uid_from_size()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
D | dh_gen.c | 38 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() 58 int ossl_dh_get_named_group_uid_from_size(int pbits) in ossl_dh_get_named_group_uid_from_size() argument 69 switch (pbits) { in ossl_dh_get_named_group_uid_from_size()
|
/third_party/openssl/crypto/dsa/ |
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()
|
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
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()
|
/third_party/openssl/demos/pkey/ |
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()
|
/third_party/openssl/doc/man7/ |
D | EVP_PKEY-DSA.pod | 26 The following restrictions apply to the "pbits" field: 56 unsigned int pbits = 2048; 66 params[0] = OSSL_PARAM_construct_uint("pbits", &pbits);
|
D | EVP_PKEY-DH.pod | 104 This specifies that a named safe prime name will be chosen using the "pbits" 114 =item "pbits" (B<OSSL_PKEY_PARAM_FFC_PBITS>) <unsigned integer> 198 unsigned int pbits = 2048; 207 params[0] = OSSL_PARAM_construct_uint("pbits", &pbits);
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
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);
|
D | dsa.h | 25 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
|
/third_party/openssl/include/crypto/ |
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);
|
D | dsa.h | 25 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
|
/third_party/mbedtls/library/ |
D | ecdh.c | 291 if (ctx->grp.pbits == 0) { in ecdh_make_params_internal() 509 if (ctx->grp.pbits == 0) { in ecdh_make_public_internal() 627 if (ctx == NULL || ctx->grp.pbits == 0) { in ecdh_calc_secret_internal() 656 *olen = ctx->grp.pbits / 8 + ((ctx->grp.pbits % 8) != 0); in ecdh_calc_secret_internal()
|
D | psa_crypto_ecp.c | 357 curve_bytes = PSA_BITS_TO_BYTES(ecp->grp.pbits); in mbedtls_psa_ecdsa_sign_hash() 444 curve_bytes = PSA_BITS_TO_BYTES(ecp->grp.pbits); in mbedtls_psa_ecdsa_verify_hash()
|
D | pkparse.c | 278 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in pk_group_from_specified() 388 if (grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
D | dsa_kmgmt.c | 58 size_t pbits; member 414 gctx->pbits = 2048; in dsa_gen_init() 495 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dsa_gen_set_params() 565 gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : in dsa_gen() 597 gctx->pbits, gctx->qbits, in dsa_gen()
|
D | dh_kmgmt.c | 61 size_t pbits; member 457 gctx->pbits = 2048; in dh_gen_init_base() 553 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dh_gen_common_set_params() 711 gctx->group_nid = ossl_dh_get_named_group_uid_from_size(gctx->pbits); in dh_gen() 755 ret = DH_generate_parameters_ex(dh, gctx->pbits, in dh_gen() 759 gctx->pbits, gctx->qbits, in dh_gen()
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | dsa_kmgmt.c | 58 size_t pbits; member 414 gctx->pbits = 2048; in dsa_gen_init() 495 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dsa_gen_set_params() 565 gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : in dsa_gen() 597 gctx->pbits, gctx->qbits, in dsa_gen()
|
D | dh_kmgmt.c | 61 size_t pbits; member 457 gctx->pbits = 2048; in dh_gen_init_base() 553 && !OSSL_PARAM_get_size_t(p, &gctx->pbits)) in dh_gen_common_set_params() 711 gctx->group_nid = ossl_dh_get_named_group_uid_from_size(gctx->pbits); in dh_gen() 755 ret = DH_generate_parameters_ex(dh, gctx->pbits, in dh_gen() 759 gctx->pbits, gctx->qbits, in dh_gen()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | ecp_alt.h | 29 const size_t pbits; member
|
/third_party/openssl/crypto/evp/ |
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()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
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()
|
/third_party/openssl/test/ |
D | evp_extra_test2.c | 367 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dh_paramgen() local 369 params[0] = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dh_paramgen() 1039 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dsa_fromdata_digest_prop() local 1041 *p++ = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dsa_fromdata_digest_prop()
|
/third_party/mbedtls/programs/pkey/ |
D | ecdsa.c | 143 mbedtls_printf(" ok (key size: %d bits)\n", (int) ctx_sign.MBEDTLS_PRIVATE(grp).pbits); in main()
|
/third_party/openssl/doc/man1/ |
D | openssl-genpkey.pod.in | 285 =item B<pbits>:I<numbits> 329 Can be used with the option B<pbits> to select one of 412 openssl genpkey -genparam -algorithm DSA -out dsap.pem -pkeyopt pbits:2048 \ 442 -pkeyopt pbits:2048 -pkeyopt qbits:224 -pkeyopt digest:SHA256 \ 448 -pkeyopt pbits:1024 -pkeyopt qbits:160 -pkeyopt digest:SHA1 \
|
/third_party/ffmpeg/libavcodec/ |
D | vc2enc.c | 186 int pbits = 0, bits = 0, topbit = 1, maxval = 1; in put_vc2_ue_uint() local 203 pbits <<= 2; in put_vc2_ue_uint() 205 pbits |= 0x1; in put_vc2_ue_uint() 208 put_bits(pb, bits*2 + 1, (pbits << 1) | 1); in put_vc2_ue_uint()
|