Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_get_bit (Results 1 – 8 of 8) sorted by relevance

/mbedtls-3.5.0/library/
Decp.c749 buf[0] = 0x02 + mbedtls_mpi_get_bit(&P->Y, 0); in mbedtls_ecp_point_write_binary()
1276 if (mbedtls_mpi_get_bit(&grp->P, 0) != 1 || in mbedtls_ecp_sw_derive_y()
1277 mbedtls_mpi_get_bit(&grp->P, 1) != 1) { in mbedtls_ecp_sw_derive_y()
1300 if (mbedtls_mpi_get_bit(Y, 0) != parity_bit) { in mbedtls_ecp_sw_derive_y()
1803 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core()
2143 if (mbedtls_mpi_get_bit(&grp->N, 0) != 1) { in ecp_comb_recode_scalar()
2148 *parity_trick = (mbedtls_mpi_get_bit(m, 0) == 0); in ecp_comb_recode_scalar()
2590 b = mbedtls_mpi_get_bit(m, i); in ecp_mul_mxz()
3062 if (mbedtls_mpi_get_bit(d, 0) != 0 || in mbedtls_ecp_check_privkey()
3063 mbedtls_mpi_get_bit(d, 1) != 0 || in mbedtls_ecp_check_privkey()
[all …]
Drsa.c160 mbedtls_mpi_get_bit(&ctx->N, 0) == 0) { in rsa_check_context()
170 mbedtls_mpi_get_bit(&ctx->P, 0) == 0 || in rsa_check_context()
172 mbedtls_mpi_get_bit(&ctx->Q, 0) == 0)) { in rsa_check_context()
668 if (mbedtls_mpi_get_bit(&ctx->E, 0) == 0 || in mbedtls_rsa_check_pubkey()
Dpkparse.c396 mbedtls_mpi_get_bit(&grp->G.Y, 0) == mbedtls_mpi_get_bit(&ref.G.Y, 0)) { in pk_group_id_from_group()
Dbignum.c287 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos) in mbedtls_mpi_get_bit() function
1973 if (lzt == 0 && mbedtls_mpi_get_bit(&TB, 0) == 0) { in mbedtls_mpi_gcd()
/mbedtls-3.5.0/include/mbedtls/
Dbignum.h385 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos);
/mbedtls-3.5.0/tests/suites/
Dtest_suite_bignum_random.function327 stats[b] += mbedtls_mpi_get_bit(&R, b);
Dtest_suite_bignum.function108 TEST_ASSERT(mbedtls_mpi_get_bit(&X, 42) == 0);
318 TEST_ASSERT(mbedtls_mpi_get_bit(&X, pos) == val);
Dtest_suite_ecp.function661 buf->x[0] = 0x02 + mbedtls_mpi_get_bit(&Y, 0);