Lines Matching refs:mbedtls_mpi_cmp_int
403 return( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ); in mbedtls_ecp_is_zero()
455 if( mbedtls_mpi_cmp_int( &P->Z, 0 ) == 0 ) in mbedtls_ecp_point_write_binary()
671 if( ( N->s < 0 && mbedtls_mpi_cmp_int( N, 0 ) != 0 ) || in ecp_modp()
680 while( N->s < 0 && mbedtls_mpi_cmp_int( N, 0 ) != 0 ) in ecp_modp()
718 while( N.s < 0 && mbedtls_mpi_cmp_int( &N, 0 ) != 0 ) \
748 if( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ) in ecp_normalize_jac()
882 nonzero = mbedtls_mpi_cmp_int( &Q->Y, 0 ) != 0; in ecp_safe_invert_jac()
934 if( mbedtls_mpi_cmp_int( &grp->A, 0 ) != 0 ) in ecp_double_jac()
1009 if( mbedtls_mpi_cmp_int( &P->Z, 0 ) == 0 ) in ecp_add_mixed()
1012 if( Q->Z.p != NULL && mbedtls_mpi_cmp_int( &Q->Z, 0 ) == 0 ) in ecp_add_mixed()
1018 if( Q->Z.p != NULL && mbedtls_mpi_cmp_int( &Q->Z, 1 ) != 0 ) in ecp_add_mixed()
1032 if( mbedtls_mpi_cmp_int( &T1, 0 ) == 0 ) in ecp_add_mixed()
1034 if( mbedtls_mpi_cmp_int( &T2, 0 ) == 0 ) in ecp_add_mixed()
1099 while( mbedtls_mpi_cmp_int( &l, 1 ) <= 0 ); in ecp_randomize_jac()
1481 while( mbedtls_mpi_cmp_int( &l, 1 ) <= 0 ); in ecp_randomize_mxz()
1618 if( mbedtls_mpi_cmp_int( &P->Z, 1 ) != 0 ) in mbedtls_ecp_mul()
1647 if( mbedtls_mpi_cmp_int( &pt->X, 0 ) < 0 || in ecp_check_pubkey_sw()
1648 mbedtls_mpi_cmp_int( &pt->Y, 0 ) < 0 || in ecp_check_pubkey_sw()
1697 if( mbedtls_mpi_cmp_int( m, 1 ) == 0 ) in mbedtls_ecp_mul_shortcuts()
1701 else if( mbedtls_mpi_cmp_int( m, -1 ) == 0 ) in mbedtls_ecp_mul_shortcuts()
1704 if( mbedtls_mpi_cmp_int( &R->Y, 0 ) != 0 ) in mbedtls_ecp_mul_shortcuts()
1765 if( mbedtls_mpi_cmp_int( &pt->Z, 1 ) != 0 ) in mbedtls_ecp_check_pubkey()
1801 if( mbedtls_mpi_cmp_int( d, 1 ) < 0 || in mbedtls_ecp_check_privkey()
1880 while( mbedtls_mpi_cmp_int( d, 1 ) < 0 || in mbedtls_ecp_gen_keypair_base()