Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_mpi.data853 Base test mbedtls_mpi_sub_mpi #1 (Test with negative result)
854 mbedtls_mpi_sub_mpi:10:"5":10:"7":10:"-2"
856 Base test mbedtls_mpi_sub_mpi #2 (Test with negative inputs)
857 mbedtls_mpi_sub_mpi:10:"-5":10:"-7":10:"2"
859 Base test mbedtls_mpi_sub_mpi #3 (Test with negative base)
860 mbedtls_mpi_sub_mpi:10:"-5":10:"7":10:"-12"
862 Base test mbedtls_mpi_sub_mpi #4 (Test with negative subtraction)
863 mbedtls_mpi_sub_mpi:10:"5":10:"-7":10:"12"
865 Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (null)
866 mbedtls_mpi_sub_mpi:16:"":16:"":16:"0"
[all …]
Dtest_suite_mpi.function260 mbedtls_mpi_sub_mpi( NULL, &X, &X ) );
262 mbedtls_mpi_sub_mpi( &X, NULL, &X ) );
264 mbedtls_mpi_sub_mpi( &X, &X, NULL ) );
971 void mbedtls_mpi_sub_mpi( int radix_X, char * input_X, int radix_Y,
980 TEST_ASSERT( mbedtls_mpi_sub_mpi( &Z, &X, &Y ) == 0 );
985 TEST_ASSERT( mbedtls_mpi_sub_mpi( &X, &X, &Y ) == 0 );
991 TEST_ASSERT( mbedtls_mpi_sub_mpi( &Y, &X, &Y ) == 0 );
Dtest_suite_ecp.function1232 TEST_EQUAL( 0, mbedtls_mpi_sub_mpi( &M, &N, &C ) );
/openthread-3.4.0/third_party/mbedtls/repo/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_internal.c263 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt()
283 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
Decp.c1261 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( X, A, B ) ); in mbedtls_mpi_sub_mod()
1475 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mQY, &grp->P, &Q->Y ) ); in ecp_safe_invert_jac()
2125 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mm, &grp->N, m ) ); in ecp_comb_recode_scalar()
2810 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &R->Y, &grp->P, &R->Y ) ); in mbedtls_ecp_mul_shortcuts()
2983 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()
Decjpake.c335 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &h, &v, &h ) ); /* v - x*h */ in ecjpake_zkp_write()
Drsa.c564 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &H, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_gen_key()
1012 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &T, &TP, &TQ ) ); in mbedtls_rsa_private()
Decp_curves.c736 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &grp->N, &grp->N, &Ns ) ); in ecp_use_curve448()
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h687 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
Dcompat-1.3.h2088 #define mpi_sub_mpi mbedtls_mpi_sub_mpi
/openthread-3.4.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1698 mpi_sub_mpi mbedtls_mpi_sub_mpi