Searched refs:mbedtls_mpi_sub_int (Results 1 – 14 of 14) sorted by relevance
/third_party/mbedtls/library/ |
D | rsa_alt_helpers.c | 108 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&T, &T, 1)); in mbedtls_rsa_deduce_primes() 164 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, &K, 1)); in mbedtls_rsa_deduce_primes() 216 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, P, 1)); in mbedtls_rsa_deduce_private_exponent() 217 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&L, Q, 1)); in mbedtls_rsa_deduce_private_exponent() 247 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, P, 1)); in mbedtls_rsa_deduce_crt() 253 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, Q, 1)); in mbedtls_rsa_deduce_crt() 349 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, &K, 1)); in mbedtls_rsa_validate_params() 350 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&L, P, 1)); in mbedtls_rsa_validate_params() 359 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&K, &K, 1)); in mbedtls_rsa_validate_params() 360 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&L, Q, 1)); in mbedtls_rsa_validate_params() [all …]
|
D | dhm.c | 98 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&U, P, 2)); in dhm_check_range() 186 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(R, R, 1)); in dhm_random_below()
|
D | rsa.c | 592 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&ctx->P, &ctx->P, 1)); in mbedtls_rsa_gen_key() 593 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&ctx->Q, &ctx->Q, 1)); in mbedtls_rsa_gen_key() 957 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&P1, &ctx->P, 1)); in mbedtls_rsa_private() 958 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&Q1, &ctx->Q, 1)); in mbedtls_rsa_private()
|
D | bignum.c | 1113 int mbedtls_mpi_sub_int(mbedtls_mpi *X, const mbedtls_mpi *A, mbedtls_mpi_sint b) in mbedtls_mpi_sub_int() function 2287 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&W, X, 1)); in mpi_miller_rabin()
|
D | ecp.c | 1139 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(X, A, c)); in mbedtls_mpi_sub_int_mod()
|
D | psa_crypto.c | 5571 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&diff_N_2, &ecp_group.N, 2)); in psa_generate_derived_ecc_key_weierstrass_helper()
|
/third_party/mbedtls/programs/pkey/ |
D | mpi_demo.c | 63 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&P, &P, 1)); in main() 64 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&Q, &Q, 1)); in main()
|
D | dh_genprime.c | 129 if ((ret = mbedtls_mpi_sub_int(&Q, &P, 1)) != 0) { in main()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_bignum.function | 793 TEST_ASSERT(mbedtls_mpi_sub_int(&Z, &X, input_Y) == 0); 1311 /* Test mbedtls_mpi_sub_int(): (p) - (-p) */ 1314 TEST_EQUAL(mbedtls_mpi_sub_int(&X, &A, most_negative), 0); 1319 /* Test mbedtls_mpi_sub_int(): (0) - (-p) */ 1321 TEST_EQUAL(mbedtls_mpi_sub_int(&X, &A, most_negative), 0); 1326 /* Test mbedtls_mpi_sub_int(): (-p) - (-p) */ 1328 TEST_EQUAL(mbedtls_mpi_sub_int(&X, &A, most_negative), 0);
|
D | test_suite_bignum.misc.data | 901 Test mbedtls_mpi_sub_int #1 904 Test mbedtls_mpi_sub_int #2 907 Test mbedtls_mpi_sub_int: 0 (null) - 0 910 Test mbedtls_mpi_sub_int: 0 (null) - 1 913 Test mbedtls_mpi_sub_int: 0 (null) - -1
|
D | test_suite_ecdsa.function | 139 TEST_EQUAL(mbedtls_mpi_sub_int(&r, &r_check, 1), 0);
|
D | test_suite_rsa.function | 826 TEST_ASSERT(mbedtls_mpi_sub_int(&P, &P, 1) == 0); 827 TEST_ASSERT(mbedtls_mpi_sub_int(&Q, &Q, 1) == 0);
|
/third_party/mbedtls/include/mbedtls/ |
D | bignum.h | 754 int mbedtls_mpi_sub_int(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 182 #define bn_sub_word(bn, w) mbedtls_mpi_sub_int(bn, bn, w)
|