Searched refs:mbedtls_mpi_sub_mpi (Results 1 – 11 of 11) sorted by relevance
/mbedtls-3.5.0/library/ |
D | bignum.c | 1085 int mbedtls_mpi_sub_mpi(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B) in mbedtls_mpi_sub_mpi() function 1123 return mbedtls_mpi_sub_mpi(X, A, &B); in mbedtls_mpi_sub_int() 1400 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&X, &X, &Y)); in mbedtls_mpi_div_mpi() 1428 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&X, &X, &T1)); in mbedtls_mpi_div_mpi() 1502 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(R, R, B)); in mbedtls_mpi_mod_mpi() 2152 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &TA)); in mbedtls_mpi_inv_mod() 2164 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V2, &V2, &TA)); in mbedtls_mpi_inv_mod() 2172 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&TU, &TU, &TV)); in mbedtls_mpi_inv_mod() 2173 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U1, &U1, &V1)); in mbedtls_mpi_inv_mod() 2174 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &V2)); in mbedtls_mpi_inv_mod() [all …]
|
D | rsa_alt_helpers.c | 402 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&L, DP, D)); in mbedtls_rsa_validate_crt() 419 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&L, DQ, D)); in mbedtls_rsa_validate_crt()
|
D | ecp.c | 1091 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(X, A, B)); in mbedtls_mpi_sub_mod() 1214 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&tmp, &grp->P, (X))); \ 1301 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(Y, &grp->P, Y)); in mbedtls_ecp_sw_derive_y() 2152 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&mm, &grp->N, m)); in ecp_comb_recode_scalar() 2964 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&XmP, &XmP, P)); in ecp_check_bad_points_mx()
|
D | ecdsa.c | 229 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(x, x, &grp->N)); in derive_mpi()
|
D | rsa.c | 581 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&H, &ctx->P, &ctx->Q)); in mbedtls_rsa_gen_key() 1011 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&T, &TP, &TQ)); in mbedtls_rsa_private()
|
D | ecjpake.c | 387 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&h, &v, &h)); /* v - x*h */ in ecjpake_zkp_write()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_bignum.misc.data | 862 Base test mbedtls_mpi_sub_mpi #1 (Test with negative result) 865 Base test mbedtls_mpi_sub_mpi #2 (Test with negative inputs) 868 Base test mbedtls_mpi_sub_mpi #3 (Test with negative base) 871 Base test mbedtls_mpi_sub_mpi #4 (Test with negative subtraction) 874 Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (null) 877 Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (1 limb) 880 Test mbedtls_mpi_sub_mpi: 0 (null) - 1 883 Test mbedtls_mpi_sub_mpi: 0 (null) - -1 886 Test mbedtls_mpi_sub_mpi: 0 (1 limb) - 0 (null) 889 Test mbedtls_mpi_sub_mpi: 1 - 0 (null) [all …]
|
D | test_suite_ecdsa.function | 168 TEST_EQUAL(mbedtls_mpi_sub_mpi(&r, &r_check, &grp.N), 0); 169 TEST_EQUAL(mbedtls_mpi_sub_mpi(&s, &s_check, &grp.N), 0);
|
D | test_suite_bignum.function | 725 TEST_ASSERT(mbedtls_mpi_sub_mpi(&Z, &X, &Y) == 0); 730 TEST_ASSERT(mbedtls_mpi_sub_mpi(&X, &X, &Y) == 0); 736 TEST_ASSERT(mbedtls_mpi_sub_mpi(&Y, &X, &Y) == 0);
|
D | test_suite_ecp.function | 1111 TEST_EQUAL(0, mbedtls_mpi_sub_mpi(&M, &N, &C));
|
/mbedtls-3.5.0/include/mbedtls/ |
D | bignum.h | 725 int mbedtls_mpi_sub_mpi(mbedtls_mpi *X, const mbedtls_mpi *A,
|