Home
last modified time | relevance | path

Searched refs:RP (Results 1 – 6 of 6) sorted by relevance

/mbedtls-3.5.0/
DMakefile65 cp -RP library/libmbedtls.* $(DESTDIR)/lib
66 cp -RP library/libmbedx509.* $(DESTDIR)/lib
67 cp -RP library/libmbedcrypto.* $(DESTDIR)/lib
/mbedtls-3.5.0/library/
Ddhm.c222 &ctx->P, &ctx->RP)); 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()
446 &ctx->P, &ctx->RP)); in mbedtls_dhm_calc_secret()
479 mbedtls_mpi_free(&ctx->RP); in mbedtls_dhm_free()
Decp.c2561 mbedtls_ecp_point RP; in ecp_mul_mxz() local
2564 mbedtls_ecp_point_init(&RP); mbedtls_mpi_init(&PX); in ecp_mul_mxz()
2574 MBEDTLS_MPI_CHK(mbedtls_ecp_copy(&RP, P)); in ecp_mul_mxz()
2582 MOD_ADD(&RP.X); in ecp_mul_mxz()
2585 MBEDTLS_MPI_CHK(ecp_randomize_mxz(grp, &RP, f_rng, p_rng)); in ecp_mul_mxz()
2598 MPI_ECP_COND_SWAP(&R->X, &RP.X, b); in ecp_mul_mxz()
2599 MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b); in ecp_mul_mxz()
2600 MBEDTLS_MPI_CHK(ecp_double_add_mxz(grp, R, &RP, R, &RP, &PX, tmp)); in ecp_mul_mxz()
2601 MPI_ECP_COND_SWAP(&R->X, &RP.X, b); in ecp_mul_mxz()
2602 MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b); in ecp_mul_mxz()
[all …]
Drsa.c1005 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, DP, &ctx->P, &ctx->RP)); in mbedtls_rsa_private()
2303 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->RP, &src->RP)); in mbedtls_rsa_copy()
2343 mbedtls_mpi_free(&ctx->RP); in mbedtls_rsa_free()
/mbedtls-3.5.0/include/mbedtls/
Ddhm.h120 mbedtls_mpi MBEDTLS_PRIVATE(RP); /*!< The cached value = \c R^2 mod \c P. */
Drsa.h111 mbedtls_mpi MBEDTLS_PRIVATE(RP); /*!< cached <code>R^2 mod P</code>. */