/third_party/mbedtls/library/ |
D | ecdh.c | 313 if( ctx->grp.pbits == 0 ) in ecdh_make_params_internal() 535 if( ctx->grp.pbits == 0 ) in ecdh_make_public_internal() 657 if( ctx == NULL || ctx->grp.pbits == 0 ) in ecdh_calc_secret_internal() 685 *olen = ctx->grp.pbits / 8 + ( ( ctx->grp.pbits % 8 ) != 0 ); in ecdh_calc_secret_internal() 740 if( ctx->grp.pbits == 0 ) in ecdh_tls13_make_params_internal()
|
D | psa_crypto_ecp.c | 356 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in mbedtls_psa_ecdsa_sign_hash() 432 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in mbedtls_psa_ecdsa_verify_hash()
|
D | pk_wrap.c | 241 return( ((mbedtls_ecp_keypair *) ctx)->grp.pbits ); in eckey_get_bitlen() 360 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_verify_rs_wrap() 385 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_sign_rs_wrap()
|
D | pkparse.c | 291 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in pk_group_from_specified() 400 if( grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
|
D | pkwrite.c | 162 size_t byte_length = ( ec->grp.pbits + 7 ) / 8; in pk_write_ec_private()
|
D | ecp.c | 282 if( grp->pbits >= 512 ) in mbedtls_ecp_check_budget() 284 else if( grp->pbits >= 384 ) in mbedtls_ecp_check_budget() 536 grp->pbits = 0; in mbedtls_ecp_group_init() 1035 mbedtls_mpi_bitlen( N ) > 2 * grp->pbits ) in ecp_modp()
|
D | ecjpake.c | 792 x_bytes = ( ctx->grp.pbits + 7 ) / 8; in mbedtls_ecjpake_derive_secret()
|
D | ecp_curves.c | 4553 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_group_load() 4652 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve25519() 4705 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve448()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | ecp_alt.h | 30 const size_t pbits; member
|
/third_party/mbedtls/programs/pkey/ |
D | ecdsa.c | 155 mbedtls_printf( " ok (key size: %d bits)\n", (int) ctx_sign.MBEDTLS_PRIVATE(grp).pbits ); in main()
|
/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()
|
/third_party/mbedtls/include/mbedtls/ |
D | ecp.h | 237 size_t pbits; /*!< The number of bits in \p P.*/ member
|
/third_party/mbedtls/docs/architecture/ |
D | alternative-implementations.md | 51 * ECP: `mbedtls_ecp_group` must have the fields `id`, `P`, `A`, `B`, `G`, `N`, `pbits` and `nbits`. 52 …_ecp_point_read_binary()` must support a group structure where only `P`, `pbits`, `A` and `B` are …
|
/third_party/glib/glib/pcre/ |
D | pcre_compile.c | 3898 pcre_uint8 pbits[32]; in compile_branch() local 3952 memcpy(pbits, cbits + posix_class_maps[posix_class], in compile_branch() 3963 for (c = 0; c < 32; c++) pbits[c] |= cbits[c + taboffset]; in compile_branch() 3965 for (c = 0; c < 32; c++) pbits[c] &= ~cbits[c + taboffset]; in compile_branch() 3972 if (tabopt == 1) pbits[1] &= ~0x3c; in compile_branch() 3973 else if (tabopt == 2) pbits[11] &= 0x7f; in compile_branch() 3979 for (c = 0; c < 32; c++) classbits[c] |= ~pbits[c]; in compile_branch() 3981 for (c = 0; c < 32; c++) classbits[c] |= pbits[c]; in compile_branch()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_compile.c | 5697 uint8_t pbits[32]; in compile_branch() local 5762 memcpy(pbits, cbits + posix_class_maps[posix_class], in compile_branch() 5773 for (i = 0; i < 32; i++) pbits[i] |= cbits[(int)i + taboffset]; in compile_branch() 5775 for (i = 0; i < 32; i++) pbits[i] &= ~cbits[(int)i + taboffset]; in compile_branch() 5782 if (tabopt == 1) pbits[1] &= ~0x3c; in compile_branch() 5783 else if (tabopt == 2) pbits[11] &= 0x7f; in compile_branch() 5789 for (i = 0; i < 32; i++) classbits[i] |= ~pbits[i]; in compile_branch() 5791 for (i = 0; i < 32; i++) classbits[i] |= pbits[i]; in compile_branch()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ecp.function | 521 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );
|
/third_party/quickjs/ |
D | quickjs.c | 22478 static int js_parse_skip_parens_token(JSParseState *s, int *pbits, BOOL no_line_terminator) in js_parse_skip_parens_token() argument 22587 if (pbits) { in js_parse_skip_parens_token() 22588 *pbits = bits; in js_parse_skip_parens_token()
|