Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_cmp_int (Results 1 – 10 of 10) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_mpi.data109 Base test mbedtls_mpi_cmp_int #1
110 mbedtls_mpi_cmp_int:693:693:0
112 Base test mbedtls_mpi_cmp_int #2
113 mbedtls_mpi_cmp_int:693:692:1
115 Base test mbedtls_mpi_cmp_int #3
116 mbedtls_mpi_cmp_int:693:694:-1
118 Base test mbedtls_mpi_cmp_int (Negative values) #1
119 mbedtls_mpi_cmp_int:-2:-2:0
121 Base test mbedtls_mpi_cmp_int (Negative values) #2
122 mbedtls_mpi_cmp_int:-2:-3:1
[all …]
Dtest_suite_mpi.function259 void mbedtls_mpi_cmp_int( int input_X, int input_A, int result_CMP )
265 TEST_ASSERT( mbedtls_mpi_cmp_int( &X, input_A ) == result_CMP);
332 TEST_ASSERT( mbedtls_mpi_cmp_int( &X, input_X ) == 0 );
459 TEST_ASSERT( mbedtls_mpi_cmp_int( &X, 0 ) == 0 );
/net-tools-2.7.6/mbedtls-2.4.0/library/
Decp.c403 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()
[all …]
Decdsa.c106 while( mbedtls_mpi_cmp_int( r, 0 ) == 0 ); in mbedtls_ecdsa_sign()
128 while( mbedtls_mpi_cmp_int( &t, 1 ) < 0 || in mbedtls_ecdsa_sign()
148 while( mbedtls_mpi_cmp_int( s, 0 ) == 0 ); in mbedtls_ecdsa_sign()
217 if( mbedtls_mpi_cmp_int( r, 1 ) < 0 || mbedtls_mpi_cmp_mpi( r, &grp->N ) >= 0 || in mbedtls_ecdsa_verify()
218 mbedtls_mpi_cmp_int( s, 1 ) < 0 || mbedtls_mpi_cmp_mpi( s, &grp->N ) >= 0 ) in mbedtls_ecdsa_verify()
Dbignum.c507 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()
[all …]
Ddhm.c160 if( mbedtls_mpi_cmp_int( &ctx->P, 0 ) == 0 ) in mbedtls_dhm_make_params()
246 if( mbedtls_mpi_cmp_int( &ctx->P, 0 ) == 0 ) in mbedtls_dhm_make_public()
308 if( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) != 0 ) in dhm_update_blinding()
335 while( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) <= 0 ); in dhm_update_blinding()
Drsa.c140 while( mbedtls_mpi_cmp_int( &G, 1 ) != 0 ); in mbedtls_rsa_gen_key()
233 mbedtls_mpi_cmp_int( &L2, 0 ) != 0 || in mbedtls_rsa_check_privkey()
234 mbedtls_mpi_cmp_int( &I, 1 ) != 0 || in mbedtls_rsa_check_privkey()
235 mbedtls_mpi_cmp_int( &G, 1 ) != 0 ) in mbedtls_rsa_check_privkey()
348 } while( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) != 0 ); in rsa_prepare_blinding()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dbignum.h452 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
Dcompat-1.3.h2118 #define mpi_cmp_int mbedtls_mpi_cmp_int
/net-tools-2.7.6/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt1663 mpi_cmp_int mbedtls_mpi_cmp_int