Home
last modified time | relevance | path

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

/mbedtls-latest/tests/suites/
Dtest_suite_bignum.misc.data1302 Base test mbedtls_mpi_exp_mod #1
1305 Base test mbedtls_mpi_exp_mod #2 (Even N)
1308 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null))
1311 Base test mbedtls_mpi_exp_mod #3 (Negative N)
1314 Base test mbedtls_mpi_exp_mod #4 (Negative base)
1317 Base test mbedtls_mpi_exp_mod #5 (Negative exponent)
1320 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent)
1323 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9
1326 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9
1329 Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9
[all …]
Dtest_suite_bignum.function992 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1025 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL);
1033 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1041 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1081 TEST_ASSERT(mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR) == exp_result);
Dtest_suite_psa_crypto_driver_wrappers.function453 TEST_ASSERT(mbedtls_mpi_exp_mod(&X, &C, &D, &N, NULL) == 0);
/mbedtls-latest/programs/pkey/
Dmpi_demo.c62 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Y, &X, &E, &N, NULL)); in main()
63 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Z, &Y, &D, &N, NULL)); in main()
/mbedtls-latest/library/
Ddhm.c209 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->GX, &ctx->G, &ctx->X, in dhm_make_common()
394 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP)); in dhm_update_blinding()
433 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
Dpsa_crypto_ffdh.c181 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&GX, &G, &X, &P, NULL)); in mbedtls_psa_ffdh_export_public_key()
299 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &GY, &X, &P, NULL)); in mbedtls_psa_ffdh_key_agreement()
Drsa.c1337 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding()
1531 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private()
1540 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private()
1541 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private()
1558 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
Drsa_alt_helpers.c127 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
Dbignum.c1732 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function
2101 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin()
2397 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
Decp.c1282 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(Y, Y /*y^2*/, &exp, &grp->P, NULL)); in mbedtls_ecp_sw_derive_y()
/mbedtls-latest/include/mbedtls/
Dbignum.h909 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
/mbedtls-latest/
DChangeLog449 * mbedtls_mpi_exp_mod and code that uses it, notably RSA and DHM operations,
1442 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467.
2043 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with
2289 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to