Searched refs:RP (Results 1 – 5 of 5) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | dhm.c | 210 &ctx->P, &ctx->RP)); 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() 434 &ctx->P, &ctx->RP)); in mbedtls_dhm_calc_secret() 467 mbedtls_mpi_free(&ctx->RP); in mbedtls_dhm_free()
|
| H A D | ecp.c | 2557 mbedtls_ecp_point RP; in ecp_mul_mxz() local 2560 mbedtls_ecp_point_init(&RP); mbedtls_mpi_init(&PX); in ecp_mul_mxz() 2570 MBEDTLS_MPI_CHK(mbedtls_ecp_copy(&RP, P)); in ecp_mul_mxz() 2578 MOD_ADD(&RP.X); in ecp_mul_mxz() 2581 MBEDTLS_MPI_CHK(ecp_randomize_mxz(grp, &RP, f_rng, p_rng)); in ecp_mul_mxz() 2594 MPI_ECP_COND_SWAP(&R->X, &RP.X, b); in ecp_mul_mxz() 2595 MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b); in ecp_mul_mxz() 2596 MBEDTLS_MPI_CHK(ecp_double_add_mxz(grp, R, &RP, R, &RP, &PX, tmp)); in ecp_mul_mxz() 2597 MPI_ECP_COND_SWAP(&R->X, &RP.X, b); in ecp_mul_mxz() 2598 MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b); in ecp_mul_mxz() [all …]
|
| H A D | rsa.c | 1542 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private() 2798 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->RP, &src->RP)); in mbedtls_rsa_copy() 2838 mbedtls_mpi_free(&ctx->RP); in mbedtls_rsa_free()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | dhm.h | 108 mbedtls_mpi MBEDTLS_PRIVATE(RP); /*!< The cached value = \c R^2 mod \c P. */
|
| H A D | rsa.h | 105 mbedtls_mpi MBEDTLS_PRIVATE(RP); /*!< cached <code>R^2 mod P</code>. */
|