/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_mpi.function | 171 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 204 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 251 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Z, &A ) == 0 ); 273 void mbedtls_mpi_cmp_mpi( int radix_X, char *input_X, int radix_Y, char *input_Y, 281 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == input_A ); 313 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) != 0 ); 314 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Y, &A ) == 0 ); 316 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 317 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Y, &A ) != 0 ); 370 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &XX ) == 0 ); [all …]
|
D | test_suite_ecp.function | 83 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xA ) == 0 ); 84 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yA ) == 0 ); 87 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xZ ) == 0 ); 88 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 92 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xB ) == 0 ); 93 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yB ) == 0 ); 97 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xZ ) == 0 ); 98 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 136 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xA ) == 0 ); 141 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xS ) == 0 ); [all …]
|
D | test_suite_mpi.data | 127 Base test mbedtls_mpi_cmp_mpi #1 128 mbedtls_mpi_cmp_mpi:10:"693":10:"693":0 130 Base test mbedtls_mpi_cmp_mpi #2 131 mbedtls_mpi_cmp_mpi:10:"693":10:"692":1 133 Base test mbedtls_mpi_cmp_mpi #3 134 mbedtls_mpi_cmp_mpi:10:"693":10:"694":-1 136 Base test mbedtls_mpi_cmp_mpi (Negative values) #1 137 mbedtls_mpi_cmp_mpi:10:"-2":10:"-2":0 139 Base test mbedtls_mpi_cmp_mpi (Negative values) #2 140 mbedtls_mpi_cmp_mpi:10:"-2":10:"-3":1 [all …]
|
D | test_suite_ecdh.function | 35 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zA, &zB ) == 0 ); 100 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qA.X, &check ) == 0 ); 102 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qA.Y, &check ) == 0 ); 108 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qB.X, &check ) == 0 ); 110 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qB.Y, &check ) == 0 ); 114 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zA, &check ) == 0 ); 116 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zB, &check ) == 0 ); 154 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &srv.z, &cli.z ) == 0 );
|
D | test_suite_ecdsa.function | 85 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &r, &r_check ) == 0 ); 86 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &s, &s_check ) == 0 ); 125 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &r, &r_check ) == 0 ); 126 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &s, &s_check ) == 0 );
|
D | test_suite_dhm.function | 114 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx.P, &P ) == 0 ); 115 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx.G, &G ) == 0 );
|
D | test_suite_rsa.function | 681 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx.P, &ctx.Q ) > 0 );
|
/net-tools-latest/mbedtls-2.4.0/library/ |
D | ecp.c | 412 if( mbedtls_mpi_cmp_mpi( &P->X, &Q->X ) == 0 && in mbedtls_ecp_point_cmp() 413 mbedtls_mpi_cmp_mpi( &P->Y, &Q->Y ) == 0 && in mbedtls_ecp_point_cmp() 414 mbedtls_mpi_cmp_mpi( &P->Z, &Q->Z ) == 0 ) in mbedtls_ecp_point_cmp() 683 while( mbedtls_mpi_cmp_mpi( N, &grp->P ) >= 0 ) in ecp_modp() 727 while( mbedtls_mpi_cmp_mpi( &N, &grp->P ) >= 0 ) \ 1093 while( mbedtls_mpi_cmp_mpi( &l, &grp->P ) >= 0 ) in ecp_randomize_jac() 1341 p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 && in ecp_mul_comb() 1342 mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 ); in ecp_mul_comb() 1475 while( mbedtls_mpi_cmp_mpi( &l, &grp->P ) >= 0 ) in ecp_randomize_mxz() 1649 mbedtls_mpi_cmp_mpi( &pt->X, &grp->P ) >= 0 || in ecp_check_pubkey_sw() [all …]
|
D | ecdsa.c | 61 if( mbedtls_mpi_cmp_mpi( x, &grp->N ) >= 0 ) in derive_mpi() 129 mbedtls_mpi_cmp_mpi( &t, &grp->N ) >= 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() 268 if( mbedtls_mpi_cmp_mpi( &R.X, r ) != 0 ) in mbedtls_ecdsa_verify()
|
D | dhm.c | 110 if( mbedtls_mpi_cmp_mpi( param, &L ) >= 0 && in dhm_check_range() 111 mbedtls_mpi_cmp_mpi( param, &U ) <= 0 ) in dhm_check_range() 170 while( mbedtls_mpi_cmp_mpi( &ctx->X, &ctx->P ) >= 0 ) in mbedtls_dhm_make_params() 256 while( mbedtls_mpi_cmp_mpi( &ctx->X, &ctx->P ) >= 0 ) in mbedtls_dhm_make_public() 295 if( mbedtls_mpi_cmp_mpi( &ctx->X, &ctx->pX ) != 0 ) in dhm_update_blinding() 329 while( mbedtls_mpi_cmp_mpi( &ctx->Vi, &ctx->P ) >= 0 ) in dhm_update_blinding()
|
D | bignum.c | 833 int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_cmp_mpi() function 876 return( mbedtls_mpi_cmp_mpi( X, &Y ) ); in mbedtls_mpi_cmp_int() 1358 while( mbedtls_mpi_cmp_mpi( &X, &Y ) >= 0 ) in mbedtls_mpi_div_mpi() 1390 while( mbedtls_mpi_cmp_mpi( &T1, &T2 ) > 0 ); in mbedtls_mpi_div_mpi() 1460 while( mbedtls_mpi_cmp_mpi( R, B ) >= 0 ) in mbedtls_mpi_mod_mpi() 1668 if( mbedtls_mpi_cmp_mpi( A, N ) >= 0 ) in mbedtls_mpi_exp_mod() 1837 if( mbedtls_mpi_cmp_mpi( &TA, &TB ) >= 0 ) in mbedtls_mpi_gcd() 1946 if( mbedtls_mpi_cmp_mpi( &TU, &TV ) >= 0 ) in mbedtls_mpi_inv_mod() 1964 while( mbedtls_mpi_cmp_mpi( &V1, N ) >= 0 ) in mbedtls_mpi_inv_mod() 2076 if( mbedtls_mpi_cmp_mpi( &A, &W ) >= 0 ) in mpi_miller_rabin() [all …]
|
D | rsa.c | 125 if( mbedtls_mpi_cmp_mpi( &ctx->P, &ctx->Q ) == 0 ) in mbedtls_rsa_gen_key() 132 if( mbedtls_mpi_cmp_mpi( &ctx->P, &ctx->Q ) < 0 ) in mbedtls_rsa_gen_key() 187 mbedtls_mpi_cmp_mpi( &ctx->E, &ctx->N ) >= 0 ) in mbedtls_rsa_check_pubkey() 229 if( mbedtls_mpi_cmp_mpi( &PQ, &ctx->N ) != 0 || in mbedtls_rsa_check_privkey() 230 mbedtls_mpi_cmp_mpi( &DP, &ctx->DP ) != 0 || in mbedtls_rsa_check_privkey() 231 mbedtls_mpi_cmp_mpi( &DQ, &ctx->DQ ) != 0 || in mbedtls_rsa_check_privkey() 232 mbedtls_mpi_cmp_mpi( &QP, &ctx->QP ) != 0 || in mbedtls_rsa_check_privkey() 266 if( mbedtls_mpi_cmp_mpi( &pub->N, &prv->N ) != 0 || in mbedtls_rsa_check_pub_priv() 267 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv() 295 if( mbedtls_mpi_cmp_mpi( &T, &ctx->N ) >= 0 ) in mbedtls_rsa_public() [all …]
|
D | pkparse.c | 386 mbedtls_mpi_cmp_mpi( &grp->P, &ref.P ) == 0 && in pk_group_id_from_group() 387 mbedtls_mpi_cmp_mpi( &grp->A, &ref.A ) == 0 && in pk_group_id_from_group() 388 mbedtls_mpi_cmp_mpi( &grp->B, &ref.B ) == 0 && in pk_group_id_from_group() 389 mbedtls_mpi_cmp_mpi( &grp->N, &ref.N ) == 0 && in pk_group_id_from_group() 390 mbedtls_mpi_cmp_mpi( &grp->G.X, &ref.G.X ) == 0 && in pk_group_id_from_group() 391 mbedtls_mpi_cmp_mpi( &grp->G.Z, &ref.G.Z ) == 0 && in pk_group_id_from_group()
|
/net-tools-latest/mbedtls-2.4.0/programs/test/ |
D | ssl_cert_test.c | 217 ret = mbedtls_mpi_cmp_mpi(&mbedtls_pk_rsa( pk )->N, &mbedtls_pk_rsa( clicert.pk )->N); in main() 224 ret = mbedtls_mpi_cmp_mpi(&mbedtls_pk_rsa( pk )->E, &mbedtls_pk_rsa( clicert.pk )->E); in main()
|
/net-tools-latest/mbedtls-2.4.0/programs/pkey/ |
D | ecdh_curve25519.c | 212 ret = mbedtls_mpi_cmp_mpi( &ctx_cli.z, &ctx_srv.z ); in main()
|
/net-tools-latest/mbedtls-2.4.0/programs/x509/ |
D | cert_write.c | 501 mbedtls_mpi_cmp_mpi( &mbedtls_pk_rsa( issuer_crt.pk )->N, in main() 503 mbedtls_mpi_cmp_mpi( &mbedtls_pk_rsa( issuer_crt.pk )->E, in main()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 440 int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y );
|
D | compat-1.3.h | 2119 #define mpi_cmp_mpi mbedtls_mpi_cmp_mpi
|
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1664 mpi_cmp_mpi mbedtls_mpi_cmp_mpi
|