/third_party/mbedtls/tests/suites/ |
D | test_suite_mpi.data | 178 Base test mbedtls_mpi_cmp_mpi #1 179 mbedtls_mpi_cmp_mpi:10:"693":10:"693":0 181 Base test mbedtls_mpi_cmp_mpi #2 182 mbedtls_mpi_cmp_mpi:10:"693":10:"692":1 184 Base test mbedtls_mpi_cmp_mpi #3 185 mbedtls_mpi_cmp_mpi:10:"693":10:"694":-1 187 Base test mbedtls_mpi_cmp_mpi (Negative values) #1 188 mbedtls_mpi_cmp_mpi:10:"-2":10:"-2":0 190 Base test mbedtls_mpi_cmp_mpi (Negative values) #2 191 mbedtls_mpi_cmp_mpi:10:"-2":10:"-3":1 [all …]
|
D | test_suite_mpi.function | 343 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 377 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 425 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Z, &A ) == 0 ); 447 void mbedtls_mpi_cmp_mpi( int radix_X, char * input_X, int radix_Y, 455 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == input_A ); 518 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &dst, &src ) == 0 ); 525 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &dst, &src ) == 0 ); 532 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &dst, &ref ) == 0 ); 553 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &A ) == 0 ); 577 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y0 ) == 0 ); [all …]
|
D | test_suite_ecp.function | 157 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xA ) == 0 ); 158 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yA ) == 0 ); 173 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xZ ) == 0 ); 174 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 244 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xR ) == 0 ); 245 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yR ) == 0 ); 299 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xA ) == 0 ); 300 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yA ) == 0 ); 304 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.X, &xZ ) == 0 ); 305 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); [all …]
|
D | test_suite_ecdh.function | 91 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zA, &zB ) == 0 ); 161 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qA.X, &check ) == 0 ); 163 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qA.Y, &check ) == 0 ); 170 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qB.X, &check ) == 0 ); 172 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &qB.Y, &check ) == 0 ); 178 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zA, &check ) == 0 ); 182 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &zB, &check ) == 0 );
|
D | test_suite_dhm.function | 13 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &actual, expected ) == 0 ); 44 TEST_EQUAL( 0, mbedtls_mpi_cmp_mpi( expected, &actual ) ); 63 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx->X, &ctx->P ) < 0 ); 66 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx->GX, &ctx->P ) < 0 );
|
D | test_suite_rsa.function | 720 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &ctx.P, &ctx.Q ) > 0 ); 760 … TEST_ASSERT( ( mbedtls_mpi_cmp_mpi( &P, &Pp ) == 0 && mbedtls_mpi_cmp_mpi( &Q, &Qp ) == 0 ) || 761 … ( mbedtls_mpi_cmp_mpi( &P, &Qp ) == 0 && mbedtls_mpi_cmp_mpi( &Q, &Pp ) == 0 ) ); 814 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R, &Rp ) == 0 ); 819 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R, &Rp ) == 0 ); 1053 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &N, &Ne ) == 0 ); 1054 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &E, &Ee ) == 0 ); 1077 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &P, &Pe ) == 0 ); 1080 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Q, &Qe ) == 0 ); 1083 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &D, &De ) == 0 );
|
D | test_suite_ecdsa.function | 120 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &r, &r_check ) == 0 ); 121 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &s, &s_check ) == 0 ); 176 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &r, &r_check ) == 0 ); 177 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &s, &s_check ) == 0 );
|
D | test_suite_asn1parse.function | 434 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &actual_mpi, 457 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &complement,
|
/third_party/mbedtls/library/ |
D | rsa_alt_helpers.c | 93 mbedtls_mpi_cmp_mpi( D, N ) >= 0 || in mbedtls_rsa_deduce_primes() 95 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_deduce_primes() 155 mbedtls_mpi_cmp_mpi( P, N ) == -1 ) in mbedtls_rsa_deduce_primes() 325 mbedtls_mpi_cmp_mpi( &K, N ) != 0 ) in mbedtls_rsa_validate_params() 340 mbedtls_mpi_cmp_mpi( D, N ) >= 0 || in mbedtls_rsa_validate_params() 341 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_validate_params()
|
D | ecp.c | 689 if( mbedtls_mpi_cmp_mpi( &P->X, &Q->X ) == 0 && in mbedtls_ecp_point_cmp() 690 mbedtls_mpi_cmp_mpi( &P->Y, &Q->Y ) == 0 && in mbedtls_ecp_point_cmp() 691 mbedtls_mpi_cmp_mpi( &P->Z, &Q->Z ) == 0 ) in mbedtls_ecp_point_cmp() 1046 while( mbedtls_mpi_cmp_mpi( N, &grp->P ) >= 0 ) in ecp_modp() 1126 while( mbedtls_mpi_cmp_mpi( &(N), &grp->P ) >= 0 ) \ 2130 p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 && in ecp_mul_comb() 2131 mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 ); in ecp_mul_comb() 2559 mbedtls_mpi_cmp_mpi( &pt->X, &grp->P ) >= 0 || in ecp_check_pubkey_sw() 2560 mbedtls_mpi_cmp_mpi( &pt->Y, &grp->P ) >= 0 ) in ecp_check_pubkey_sw() 2585 if( mbedtls_mpi_cmp_mpi( &YY, &RHS ) != 0 ) in ecp_check_pubkey_sw() [all …]
|
D | bignum.c | 1063 int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_cmp_mpi() function 1109 return( mbedtls_mpi_cmp_mpi( X, &Y ) ); in mbedtls_mpi_cmp_int() 1697 while( mbedtls_mpi_cmp_mpi( &X, &Y ) >= 0 ) in mbedtls_mpi_div_mpi() 1728 while( mbedtls_mpi_cmp_mpi( &T1, &T2 ) > 0 ); in mbedtls_mpi_div_mpi() 1805 while( mbedtls_mpi_cmp_mpi( R, B ) >= 0 ) in mbedtls_mpi_mod_mpi() 2092 if( mbedtls_mpi_cmp_mpi( A, N ) >= 0 ) in mbedtls_mpi_exp_mod() 2323 if( mbedtls_mpi_cmp_mpi( &TA, &TB ) >= 0 ) in mbedtls_mpi_gcd() 2551 if( mbedtls_mpi_cmp_mpi( &TU, &TV ) >= 0 ) in mbedtls_mpi_inv_mod() 2569 while( mbedtls_mpi_cmp_mpi( &V1, N ) >= 0 ) in mbedtls_mpi_inv_mod() 2690 } while ( mbedtls_mpi_cmp_mpi( &A, &W ) >= 0 || in mpi_miller_rabin() [all …]
|
D | ecdsa.c | 239 if( mbedtls_mpi_cmp_mpi( x, &grp->N ) >= 0 ) in derive_mpi() 271 if( mbedtls_mpi_cmp_int( d, 1 ) < 0 || mbedtls_mpi_cmp_mpi( d, &grp->N ) >= 0 ) in ecdsa_sign_restartable() 560 if( mbedtls_mpi_cmp_int( r, 1 ) < 0 || mbedtls_mpi_cmp_mpi( r, &grp->N ) >= 0 || in ecdsa_verify_restartable() 561 mbedtls_mpi_cmp_int( s, 1 ) < 0 || mbedtls_mpi_cmp_mpi( s, &grp->N ) >= 0 ) in ecdsa_verify_restartable() 612 if( mbedtls_mpi_cmp_mpi( &R.X, r ) != 0 ) in ecdsa_verify_restartable()
|
D | pkparse.c | 401 mbedtls_mpi_cmp_mpi( &grp->P, &ref.P ) == 0 && in pk_group_id_from_group() 402 mbedtls_mpi_cmp_mpi( &grp->A, &ref.A ) == 0 && in pk_group_id_from_group() 403 mbedtls_mpi_cmp_mpi( &grp->B, &ref.B ) == 0 && in pk_group_id_from_group() 404 mbedtls_mpi_cmp_mpi( &grp->N, &ref.N ) == 0 && in pk_group_id_from_group() 405 mbedtls_mpi_cmp_mpi( &grp->G.X, &ref.G.X ) == 0 && in pk_group_id_from_group() 406 mbedtls_mpi_cmp_mpi( &grp->G.Z, &ref.G.Z ) == 0 && in pk_group_id_from_group()
|
D | rsa.c | 672 mbedtls_mpi_cmp_mpi( &ctx->E, &ctx->N ) >= 0 ) in mbedtls_rsa_check_pubkey() 725 if( mbedtls_mpi_cmp_mpi( &pub->N, &prv->N ) != 0 || in mbedtls_rsa_check_pub_priv() 726 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv() 760 if( mbedtls_mpi_cmp_mpi( &T, &ctx->N ) >= 0 ) in mbedtls_rsa_public() 956 if( mbedtls_mpi_cmp_mpi( &T, &ctx->N ) >= 0 ) in mbedtls_rsa_private() 1050 if( mbedtls_mpi_cmp_mpi( &C, &I ) != 0 ) in mbedtls_rsa_private()
|
D | dhm.c | 111 mbedtls_mpi_cmp_mpi( param, &U ) > 0 ) in dhm_check_range() 384 if( mbedtls_mpi_cmp_mpi( &ctx->X, &ctx->pX ) != 0 ) in dhm_update_blinding()
|
D | psa_crypto.c | 1856 if( mbedtls_mpi_cmp_mpi( &actual, &required ) != 0 ) in psa_validate_optional_attributes()
|
/third_party/mbedtls/programs/pkey/ |
D | ecdh_curve25519.c | 212 ret = mbedtls_mpi_cmp_mpi( &ctx_cli.MBEDTLS_PRIVATE(z), &ctx_srv.MBEDTLS_PRIVATE(z) ); in main()
|
/third_party/mbedtls/include/mbedtls/ |
D | bignum.h | 598 int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y );
|
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 180 #define bn_cmp(a, b) mbedtls_mpi_cmp_mpi(a, b)
|