Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_sub_mpi (Results 1 – 11 of 11) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.data847 Base test mbedtls_mpi_sub_mpi #1 (Test with negative result)
848 mbedtls_mpi_sub_mpi:10:"5":10:"7":10:"-2"
850 Base test mbedtls_mpi_sub_mpi #2 (Test with negative inputs)
851 mbedtls_mpi_sub_mpi:10:"-5":10:"-7":10:"2"
853 Base test mbedtls_mpi_sub_mpi #3 (Test with negative base)
854 mbedtls_mpi_sub_mpi:10:"-5":10:"7":10:"-12"
856 Base test mbedtls_mpi_sub_mpi #4 (Test with negative subtraction)
857 mbedtls_mpi_sub_mpi:10:"5":10:"-7":10:"12"
859 Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (null)
860 mbedtls_mpi_sub_mpi:16:"":16:"":16:"0"
[all …]
Dtest_suite_mpi.function756 void mbedtls_mpi_sub_mpi( int radix_X, char * input_X, int radix_Y,
765 TEST_ASSERT( mbedtls_mpi_sub_mpi( &Z, &X, &Y ) == 0 );
770 TEST_ASSERT( mbedtls_mpi_sub_mpi( &X, &X, &Y ) == 0 );
776 TEST_ASSERT( mbedtls_mpi_sub_mpi( &Y, &X, &Y ) == 0 );
Dtest_suite_ecp.function923 TEST_EQUAL( 0, mbedtls_mpi_sub_mpi( &M, &N, &C ) );
/third_party/mbedtls/library/
Dbignum.c1298 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) in mbedtls_mpi_sub_mpi() function
1363 return( mbedtls_mpi_sub_mpi( X, A, &B ) ); in mbedtls_mpi_sub_int()
1700 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &X, &X, &Y ) ); in mbedtls_mpi_div_mpi()
1732 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &X, &X, &T1 ) ); in mbedtls_mpi_div_mpi()
1806 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( R, R, B ) ); in mbedtls_mpi_mod_mpi()
2530 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U2, &U2, &TA ) ); in mbedtls_mpi_inv_mod()
2544 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &V2, &V2, &TA ) ); in mbedtls_mpi_inv_mod()
2553 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &TU, &TU, &TV ) ); in mbedtls_mpi_inv_mod()
2554 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U1, &U1, &V1 ) ); in mbedtls_mpi_inv_mod()
2555 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U2, &U2, &V2 ) ); in mbedtls_mpi_inv_mod()
[all …]
Drsa_alt_helpers.c421 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt()
441 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
Decp.c1113 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( X, A, B ) ); in mbedtls_mpi_sub_mod()
1327 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mQY, &grp->P, &Q->Y ) ); in ecp_safe_invert_jac()
1975 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mm, &grp->N, m ) ); in ecp_comb_recode_scalar()
2621 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &R->Y, &grp->P, &R->Y ) ); in mbedtls_ecp_mul_shortcuts()
2794 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &XmP, &XmP, P ) ); in ecp_check_bad_points_mx()
Decdsa.c240 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( x, x, &grp->N ) ); in derive_mpi()
Drsa.c584 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &H, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_gen_key()
1029 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &T, &TP, &TQ ) ); in mbedtls_rsa_private()
Decjpake.c349 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &h, &v, &h ) ); /* v - x*h */ in ecjpake_zkp_write()
Decp_curves.c4717 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &grp->N, &grp->N, &Ns ) ); in ecp_use_curve448()
/third_party/mbedtls/include/mbedtls/
Dbignum.h684 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,