Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A 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()
H A Ddhm.c210 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->GX, &ctx->G, &ctx->X, in dhm_make_common()
384 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP)); in dhm_update_blinding()
421 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
H A Drsa_alt_helpers.c128 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
H A Drsa.c1311 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding()
1505 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private()
1514 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private()
1515 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private()
1532 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
H A Dbignum.c1850 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function
2293 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin()
2591 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
H A Decp.c1287 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(Y, Y /*y^2*/, &exp, &grp->P, NULL)); in mbedtls_ecp_sw_derive_y()
/optee_os/core/lib/libtomcrypt/
H A Dmpi_desc.c583 res = mbedtls_mpi_exp_mod(&dest, a, b, c, NULL); in exptmod()
588 res = mbedtls_mpi_exp_mod(d, a, b, c, NULL); in exptmod()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dbignum.h916 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c716 MPI_CHECK(mbedtls_mpi_exp_mod(&mpi_dest, pop1, pop2, &mpi_n, NULL)); in TEE_BigIntExpMod()
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog685 * mbedtls_mpi_exp_mod and code that uses it, notably RSA and DHM operations,
1678 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467.
2279 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with
2525 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to