Searched refs:XmP (Results 1 – 1 of 1) sorted by relevance
/third_party/mbedtls/library/ |
D | ecp.c | 2786 mbedtls_mpi XmP; in ecp_check_bad_points_mx() local 2788 mbedtls_mpi_init( &XmP ); in ecp_check_bad_points_mx() 2792 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &XmP, X ) ); in ecp_check_bad_points_mx() 2793 while( mbedtls_mpi_cmp_mpi( &XmP, P ) >= 0 ) in ecp_check_bad_points_mx() 2794 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &XmP, &XmP, P ) ); in ecp_check_bad_points_mx() 2799 if( mbedtls_mpi_cmp_int( &XmP, 1 ) <= 0 ) /* takes care of 0 and 1 */ in ecp_check_bad_points_mx() 2808 if( mbedtls_mpi_cmp_mpi( &XmP, &ecp_x25519_bad_point_1 ) == 0 ) in ecp_check_bad_points_mx() 2814 if( mbedtls_mpi_cmp_mpi( &XmP, &ecp_x25519_bad_point_2 ) == 0 ) in ecp_check_bad_points_mx() 2825 MBEDTLS_MPI_CHK( mbedtls_mpi_add_int( &XmP, &XmP, 1 ) ); in ecp_check_bad_points_mx() 2826 if( mbedtls_mpi_cmp_mpi( &XmP, P ) == 0 ) in ecp_check_bad_points_mx() [all …]
|