Lines Matching refs:mbedtls_mpi_cmp_int
507 if( mbedtls_mpi_cmp_int( X, 0 ) != 0 ) in mpi_write_hlp()
866 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_cmp_int() function
1323 if( mbedtls_mpi_cmp_int( B, 0 ) == 0 ) in mbedtls_mpi_div_mpi()
1396 if( mbedtls_mpi_cmp_int( &X, 0 ) < 0 ) in mbedtls_mpi_div_mpi()
1417 if( mbedtls_mpi_cmp_int( R, 0 ) == 0 ) in mbedtls_mpi_div_mpi()
1452 if( mbedtls_mpi_cmp_int( B, 0 ) < 0 ) in mbedtls_mpi_mod_mpi()
1457 while( mbedtls_mpi_cmp_int( R, 0 ) < 0 ) in mbedtls_mpi_mod_mpi()
1612 if( mbedtls_mpi_cmp_int( N, 0 ) < 0 || ( N->p[0] & 1 ) == 0 ) in mbedtls_mpi_exp_mod()
1615 if( mbedtls_mpi_cmp_int( E, 0 ) < 0 ) in mbedtls_mpi_exp_mod()
1832 while( mbedtls_mpi_cmp_int( &TA, 0 ) != 0 ) in mbedtls_mpi_gcd()
1891 if( mbedtls_mpi_cmp_int( N, 0 ) <= 0 ) in mbedtls_mpi_inv_mod()
1900 if( mbedtls_mpi_cmp_int( &G, 1 ) != 0 ) in mbedtls_mpi_inv_mod()
1959 while( mbedtls_mpi_cmp_int( &TU, 0 ) != 0 ); in mbedtls_mpi_inv_mod()
1961 while( mbedtls_mpi_cmp_int( &V1, 0 ) < 0 ) in mbedtls_mpi_inv_mod()
2025 if( mbedtls_mpi_cmp_int( X, small_prime[i] ) <= 0 ) in mpi_check_small_factors()
2098 mbedtls_mpi_cmp_int( &A, 1 ) <= 0 ); in mpi_miller_rabin()
2106 mbedtls_mpi_cmp_int( &A, 1 ) == 0 ) in mpi_miller_rabin()
2118 if( mbedtls_mpi_cmp_int( &A, 1 ) == 0 ) in mpi_miller_rabin()
2128 mbedtls_mpi_cmp_int( &A, 1 ) == 0 ) in mpi_miller_rabin()
2156 if( mbedtls_mpi_cmp_int( &XX, 0 ) == 0 || in mbedtls_mpi_is_prime()
2157 mbedtls_mpi_cmp_int( &XX, 1 ) == 0 ) in mbedtls_mpi_is_prime()
2160 if( mbedtls_mpi_cmp_int( &XX, 2 ) == 0 ) in mbedtls_mpi_is_prime()
2413 if( mbedtls_mpi_cmp_int( &A, gcd_pairs[i][2] ) != 0 ) in mbedtls_mpi_self_test()