Searched refs:mbedtls_mpi_get_bit (Results 1 – 7 of 7) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | ecp.c | 754 buf[0] = 0x02 + mbedtls_mpi_get_bit(&P->Y, 0); in mbedtls_ecp_point_write_binary() 1270 if (mbedtls_mpi_get_bit(&grp->P, 0) != 1 || in mbedtls_ecp_sw_derive_y() 1271 mbedtls_mpi_get_bit(&grp->P, 1) != 1) { in mbedtls_ecp_sw_derive_y() 1294 if (mbedtls_mpi_get_bit(Y, 0) != parity_bit) { in mbedtls_ecp_sw_derive_y() 1800 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core() 2140 if (mbedtls_mpi_get_bit(&grp->N, 0) != 1) { in ecp_comb_recode_scalar() 2145 *parity_trick = (mbedtls_mpi_get_bit(m, 0) == 0); in ecp_comb_recode_scalar() 2572 b = mbedtls_mpi_get_bit(m, i); in ecp_mul_mxz() 3035 if (mbedtls_mpi_get_bit(d, 0) != 0 || in mbedtls_ecp_check_privkey() 3036 mbedtls_mpi_get_bit(d, 1) != 0 || in mbedtls_ecp_check_privkey() [all …]
|
| H A D | rsa_alt_helpers.c | 201 if (mbedtls_mpi_get_bit(E, 0) != 1) { in mbedtls_rsa_deduce_private_exponent()
|
| 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 | 446 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos) in mbedtls_mpi_get_bit() function 1887 mbedtls_mpi_get_bit(N, 0) != 1 || in mbedtls_mpi_gcd_modinv_odd() 2169 if (mbedtls_mpi_get_bit(N, 0) == 1) { in mbedtls_mpi_inv_mod() 2173 if (mbedtls_mpi_get_bit(A, 0) == 1) { in mbedtls_mpi_inv_mod()
|
| H A D | rsa.c | 661 mbedtls_mpi_get_bit(&ctx->N, 0) == 0) { in rsa_check_context() 671 mbedtls_mpi_get_bit(&ctx->P, 0) == 0 || in rsa_check_context() 673 mbedtls_mpi_get_bit(&ctx->Q, 0) == 0)) { in rsa_check_context() 1170 if (mbedtls_mpi_get_bit(&ctx->E, 0) == 0 || in mbedtls_rsa_check_pubkey()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | bignum.h | 403 int mbedtls_mpi_get_bit(const mbedtls_mpi *X, size_t pos);
|
| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 330 rc = mbedtls_mpi_get_bit(&mpi, bitIndex); in TEE_BigIntGetBit() 675 return mbedtls_mpi_get_bit(x, 0); in mpi_is_odd()
|