Home
last modified time | relevance | path

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

/mbedtls-3.5.0/tests/suites/
Dtest_suite_bignum.function706 TEST_ASSERT(mbedtls_mpi_add_int(&Z, &X, input_Y) == 0);
1293 /* Test mbedtls_mpi_add_int(): (p-1) + (-p) */
1295 TEST_EQUAL(mbedtls_mpi_add_int(&X, &A, most_negative), 0);
1298 /* Test mbedtls_mpi_add_int(): (0) + (-p) */
1300 TEST_EQUAL(mbedtls_mpi_add_int(&X, &A, most_negative), 0);
1303 /* Test mbedtls_mpi_add_int(): (-p) + (-p) */
1305 TEST_EQUAL(mbedtls_mpi_add_int(&X, &A, most_negative), 0);
1350 TEST_EQUAL(mbedtls_mpi_add_int(&A, &A, 1), 0);
1362 TEST_EQUAL(mbedtls_mpi_add_int(&A, &A, 1), 0);
Dtest_suite_bignum.misc.data784 Test mbedtls_mpi_add_int #1
787 Test mbedtls_mpi_add_int #2
790 Test mbedtls_mpi_add_int: 0 (null) + 0
793 Test mbedtls_mpi_add_int: 0 (null) + 1
Dtest_suite_ecdsa.function140 TEST_EQUAL(mbedtls_mpi_add_int(&s, &s_check, 1), 0);
Dtest_suite_rsa.function772 TEST_ASSERT(mbedtls_mpi_add_int(&D, &D, 2) == 0);
Dtest_suite_ecp.function853 TEST_EQUAL(mbedtls_mpi_add_int(&exp_A, &exp_A, 2), 0);
/mbedtls-3.5.0/library/
Dbignum.c438 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(X, &T, d)); in mbedtls_mpi_read_string()
1093 int mbedtls_mpi_add_int(mbedtls_mpi *X, const mbedtls_mpi *A, mbedtls_mpi_sint b) in mbedtls_mpi_add_int() function
2474 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(X, X, 8)); in mbedtls_mpi_gen_prime()
2476 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(X, X, 4)); in mbedtls_mpi_gen_prime()
2506 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(X, X, 12)); in mbedtls_mpi_gen_prime()
2507 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&Y, &Y, 6)); in mbedtls_mpi_gen_prime()
Drsa_alt_helpers.c150 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&K, &K, 1)); in mbedtls_rsa_deduce_primes()
Drsa.c615 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&ctx->P, &ctx->P, 1)); in mbedtls_rsa_gen_key()
616 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&ctx->Q, &ctx->Q, 1)); in mbedtls_rsa_gen_key()
Decp.c1290 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&exp, &grp->P, 1)); in mbedtls_ecp_sw_derive_y()
2992 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&XmP, &XmP, 1)); in ecp_check_bad_points_mx()
Dpsa_crypto.c5646 MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&k, &k, 1));
/mbedtls-3.5.0/include/mbedtls/
Dbignum.h739 int mbedtls_mpi_add_int(mbedtls_mpi *X, const mbedtls_mpi *A,
/mbedtls-3.5.0/
DChangeLog399 mbedtls_mpi_add_mpi(), mbedtls_mpi_add_abs() and mbedtls_mpi_add_int()