Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/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.function989 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1022 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL);
1030 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1038 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR);
1078 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);
/openthread-latest/third_party/mbedtls/repo/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()
/openthread-latest/third_party/mbedtls/repo/library/
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()
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()
Drsa.c1262 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public()
1336 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding()
1530 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private()
1539 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private()
1540 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private()
1557 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.c1613 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function
2078 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin()
2374 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()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h909 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
/openthread-latest/third_party/mbedtls/repo/
DChangeLog254 * mbedtls_mpi_exp_mod and code that uses it, notably RSA and DHM operations,
1247 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467.
1848 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with
2094 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to