Searched refs:mbedtls_mpi_exp_mod (Results 1 – 12 of 12) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_bignum.misc.data | 1299 Base test mbedtls_mpi_exp_mod #1 1302 Base test mbedtls_mpi_exp_mod #2 (Even N) 1305 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null)) 1308 Base test mbedtls_mpi_exp_mod #3 (Negative N) 1311 Base test mbedtls_mpi_exp_mod #4 (Negative base) 1314 Base test mbedtls_mpi_exp_mod #5 (Negative exponent) 1317 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent) 1320 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9 1323 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9 1326 Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9 [all …]
|
D | test_suite_bignum.function | 996 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL); 1004 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1012 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1052 TEST_ASSERT(mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR) == exp_result);
|
D | test_suite_psa_crypto_driver_wrappers.function | 452 TEST_ASSERT(mbedtls_mpi_exp_mod(&X, &C, &D, &N, NULL) == 0);
|
/third_party/mbedtls/programs/pkey/ |
D | mpi_demo.c | 74 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Y, &X, &E, &N, NULL)); in main() 75 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Z, &Y, &D, &N, NULL)); in main()
|
/third_party/mbedtls/library/ |
D | dhm.c | 221 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->GX, &ctx->G, &ctx->X, in dhm_make_common() 406 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP)); in dhm_update_blinding() 445 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
|
D | rsa.c | 753 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public() 827 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding() 1020 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private() 1029 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private() 1030 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private() 1047 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
|
D | rsa_alt_helpers.c | 139 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
|
D | bignum.c | 1653 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function 2317 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin() 2618 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
|
D | ecp.c | 1293 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(Y, Y /*y^2*/, &exp, &grp->P, NULL)); in mbedtls_ecp_sw_derive_y()
|
/third_party/mbedtls/include/mbedtls/ |
D | bignum.h | 896 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 215 #define bn_modexp(bn, y, q, p) mbedtls_mpi_exp_mod(bn, y, q, p, 0)
|
/third_party/mbedtls/ |
D | ChangeLog | 674 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467. 1275 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with 1521 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to
|