/aosp_15_r20/external/mbedtls/library/ |
H A D | ecp.c | 749 buf[0] = 0x02 + mbedtls_mpi_get_bit(&P->Y, 0); in mbedtls_ecp_point_write_binary() 1275 if (mbedtls_mpi_get_bit(&grp->P, 0) != 1 || in mbedtls_ecp_sw_derive_y() 1276 mbedtls_mpi_get_bit(&grp->P, 1) != 1) { in mbedtls_ecp_sw_derive_y() 1299 if (mbedtls_mpi_get_bit(Y, 0) != parity_bit) { in mbedtls_ecp_sw_derive_y() 1805 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core() 2145 if (mbedtls_mpi_get_bit(&grp->N, 0) != 1) { in ecp_comb_recode_scalar() 2150 *parity_trick = (mbedtls_mpi_get_bit(m, 0) == 0); in ecp_comb_recode_scalar() 2592 b = mbedtls_mpi_get_bit(m, i); in ecp_mul_mxz() 3067 if (mbedtls_mpi_get_bit(d, 0) != 0 || in mbedtls_ecp_check_privkey() 3068 mbedtls_mpi_get_bit(d, 1) != 0 || in mbedtls_ecp_check_privkey() [all …]
|
H A D | rsa.c | 293 mbedtls_mpi_get_bit(&ctx->N, 0) == 0) { in rsa_check_context() 303 mbedtls_mpi_get_bit(&ctx->P, 0) == 0 || in rsa_check_context() 305 mbedtls_mpi_get_bit(&ctx->Q, 0) == 0)) { in rsa_check_context() 806 if (mbedtls_mpi_get_bit(&ctx->E, 0) == 0 || in mbedtls_rsa_check_pubkey()
|
H A D | pkparse.c | 397 mbedtls_mpi_get_bit(&grp->G.Y, 0) == mbedtls_mpi_get_bit(&ref.G.Y, 0)) { in pk_group_id_from_group()
|
H A D | bignum.c | 403 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos) in mbedtls_mpi_get_bit() function 2072 if (lzt == 0 && mbedtls_mpi_get_bit(&TB, 0) == 0) { in mbedtls_mpi_gcd()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | ecp.c | 749 buf[0] = 0x02 + mbedtls_mpi_get_bit(&P->Y, 0); in mbedtls_ecp_point_write_binary() 1265 if (mbedtls_mpi_get_bit(&grp->P, 0) != 1 || in mbedtls_ecp_sw_derive_y() 1266 mbedtls_mpi_get_bit(&grp->P, 1) != 1) { in mbedtls_ecp_sw_derive_y() 1289 if (mbedtls_mpi_get_bit(Y, 0) != parity_bit) { in mbedtls_ecp_sw_derive_y() 1795 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core() 2135 if (mbedtls_mpi_get_bit(&grp->N, 0) != 1) { in ecp_comb_recode_scalar() 2140 *parity_trick = (mbedtls_mpi_get_bit(m, 0) == 0); in ecp_comb_recode_scalar() 2582 b = mbedtls_mpi_get_bit(m, i); in ecp_mul_mxz() 3057 if (mbedtls_mpi_get_bit(d, 0) != 0 || in mbedtls_ecp_check_privkey() 3058 mbedtls_mpi_get_bit(d, 1) != 0 || in mbedtls_ecp_check_privkey() [all …]
|
H A D | rsa.c | 658 mbedtls_mpi_get_bit(&ctx->N, 0) == 0) { in rsa_check_context() 668 mbedtls_mpi_get_bit(&ctx->P, 0) == 0 || in rsa_check_context() 670 mbedtls_mpi_get_bit(&ctx->Q, 0) == 0)) { in rsa_check_context() 1178 if (mbedtls_mpi_get_bit(&ctx->E, 0) == 0 || in mbedtls_rsa_check_pubkey()
|
H A D | pkparse.c | 282 mbedtls_mpi_get_bit(&grp->G.Y, 0) == mbedtls_mpi_get_bit(&ref.G.Y, 0)) { in pk_group_id_from_group()
|
H A D | bignum.c | 394 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos) in mbedtls_mpi_get_bit() function 1744 if (lzt == 0 && mbedtls_mpi_get_bit(&TB, 0) == 0) { in mbedtls_mpi_gcd()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | bignum.h | 396 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos);
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | bignum.h | 396 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos);
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_bignum.function | 108 TEST_ASSERT(mbedtls_mpi_get_bit(&X, 42) == 0); 318 TEST_ASSERT(mbedtls_mpi_get_bit(&X, pos) == val);
|
H A D | test_suite_bignum_random.function | 327 stats[b] += mbedtls_mpi_get_bit(&R, b);
|
H A D | test_suite_ecp.function | 657 buf->x[0] = 0x02 + mbedtls_mpi_get_bit(&Y, 0);
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_bignum.function | 108 TEST_ASSERT(mbedtls_mpi_get_bit(&X, 42) == 0); 338 TEST_ASSERT(mbedtls_mpi_get_bit(&X, pos) == val);
|
H A D | test_suite_bignum_random.function | 327 stats[b] += mbedtls_mpi_get_bit(&R, b);
|
H A D | test_suite_ecp.function | 669 buf->x[0] = 0x02 + mbedtls_mpi_get_bit(&Y, 0);
|