Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_add_mpi (Results 1 – 12 of 12) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.data721 Base test mbedtls_mpi_add_mpi #1
722 mbedtls_mpi_add_mpi:10:"12345678":10:"642531":10:"12988209"
724 Base test mbedtls_mpi_add_mpi #2
725 mbedtls_mpi_add_mpi:10:"-12345678":10:"642531":10:"-11703147"
727 Base test mbedtls_mpi_add_mpi #3
728 mbedtls_mpi_add_mpi:10:"12345678":10:"-642531":10:"11703147"
730 Base test mbedtls_mpi_add_mpi #4
731 mbedtls_mpi_add_mpi:10:"-12345678":10:"-642531":10:"-12988209"
733 Test mbedtls_mpi_add_mpi: 0 (null) + 0 (null)
734 mbedtls_mpi_add_mpi:16:"":16:"":16:"0"
[all …]
Dtest_suite_mpi.function209 mbedtls_mpi_add_mpi( NULL, &X, &X ) );
211 mbedtls_mpi_add_mpi( &X, NULL, &X ) );
213 mbedtls_mpi_add_mpi( &X, &X, NULL ) );
766 void mbedtls_mpi_add_mpi( int radix_X, char * input_X, int radix_Y,
775 TEST_ASSERT( mbedtls_mpi_add_mpi( &Z, &X, &Y ) == 0 );
780 TEST_ASSERT( mbedtls_mpi_add_mpi( &X, &X, &Y ) == 0 );
786 TEST_ASSERT( mbedtls_mpi_add_mpi( &Y, &X, &Y ) == 0 );
815 TEST_ASSERT( mbedtls_mpi_add_mpi( &X, &X, &X ) == 0 );
/third_party/mbedtls/library/
Decp.c1299 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &grp->P ) ); in ecp_modp()
1341 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &(N), &(N), &grp->P ) )
1562 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &T, &P->X, &S ) ); MOD_ADD( T ); in ecp_double_jac()
1580 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &M, &M, &S ) ); MOD_ADD( M ); in ecp_double_jac()
2570 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &A, &P->X, &P->Z ) ); MOD_ADD( A ); in ecp_double_add_mxz()
2575 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &C, &Q->X, &Q->Z ) ); MOD_ADD( C ); in ecp_double_add_mxz()
2579 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &S->X, &DA, &CB ) ); MOD_MUL( S->X ); in ecp_double_add_mxz()
2586 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &R->Z, &BB, &R->Z ) ); MOD_ADD( R->Z ); in ecp_double_add_mxz()
2808 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &RHS, &RHS, &grp->A ) ); MOD_ADD( RHS ); in ecp_check_pubkey_sw()
2812 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &RHS, &RHS, &grp->B ) ); MOD_ADD( RHS ); in ecp_check_pubkey_sw()
Decp_curves.c1325 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &M ) ); in ecp_mod_p448()
1332 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &Q ) ); in ecp_mod_p448()
1339 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &M, &M, &Q ) ); in ecp_mod_p448()
1342 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &M ) ); in ecp_mod_p448()
Dbignum.c1453 int mbedtls_mpi_add_mpi( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) in mbedtls_mpi_add_mpi() function
1535 return( mbedtls_mpi_add_mpi( X, A, &_B ) ); in mbedtls_mpi_add_int()
1883 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &X, &X, &T1 ) ); in mbedtls_mpi_div_mpi()
1947 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( R, R, B ) ); in mbedtls_mpi_mod_mpi()
2401 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( X, N, X ) ); in mbedtls_mpi_exp_mod()
2616 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &U1, &U1, &TB ) ); in mbedtls_mpi_inv_mod()
2630 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &V1, &V1, &TB ) ); in mbedtls_mpi_inv_mod()
2654 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &V1, &V1, N ) ); in mbedtls_mpi_inv_mod()
Drsa.c1011 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &D_blind, &D_blind, &ctx->D ) ); in mbedtls_rsa_private()
1021 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &DP_blind, &DP_blind, in mbedtls_rsa_private()
1032 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &DQ_blind, &DQ_blind, in mbedtls_rsa_private()
1063 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &T, &TQ, &TP ) ); in mbedtls_rsa_private()
Decjpake.c675 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &b, &b, S ) ); in ecjpake_mul_secret()
Decdsa.c392 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &e, &e, s ) ); in ecdsa_sign_restartable()
/third_party/mbedtls/include/mbedtls/
Dbignum.h657 int mbedtls_mpi_add_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
Dcompat-1.3.h2078 #define mpi_add_mpi mbedtls_mpi_add_mpi
/third_party/mbedtls/scripts/data_files/
Drename-1.3-2.0.txt1661 mpi_add_mpi mbedtls_mpi_add_mpi
/third_party/mbedtls/
DChangeLog1767 * Fix bug in mbedtls_mpi_add_mpi() that caused wrong results when the three