Home
last modified time | relevance | path

Searched refs:Mp (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/math/
H A Dtfm_desc.c423 …t tfm_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, void *Mp) in tfm_ecc_projective_dbl_point() argument
432 LTC_ARGCHK(Mp != NULL); in tfm_ecc_projective_dbl_point()
434 mp = *((fp_digit*)Mp); in tfm_ecc_projective_dbl_point()
578 …_add_point(const ecc_point *P, const ecc_point *Q, ecc_point *R, void *ma, void *modulus, void *Mp) in tfm_ecc_projective_add_point() argument
588 LTC_ARGCHK(Mp != NULL); in tfm_ecc_projective_add_point()
590 mp = *((fp_digit*)Mp); in tfm_ecc_projective_add_point()
621 return tfm_ecc_projective_dbl_point(P, R, ma, modulus, Mp); in tfm_ecc_projective_add_point()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Decp_curves.c5198 mbedtls_mpi_uint Mp[P521_WIDTH + 1]; in ecp_mod_p521() local
5213 M.p = Mp; in ecp_mod_p521()
5214 memcpy(Mp, N->p + P521_WIDTH - 1, M.n * sizeof(mbedtls_mpi_uint)); in ecp_mod_p521()
5247 mbedtls_mpi_uint Mp[P255_WIDTH]; in ecp_mod_p255() local
5260 memcpy(Mp, NT_p, sizeof(mbedtls_mpi_uint) * NT_n); in ecp_mod_p255()
5265 Mp, NT_n, in ecp_mod_p255()
5300 mbedtls_mpi_uint Mp[P448_WIDTH + 1], Qp[P448_WIDTH]; in ecp_mod_p448() local
5313 M.p = Mp; in ecp_mod_p448()
5314 memset(Mp, 0, sizeof(Mp)); in ecp_mod_p448()
5315 memcpy(Mp, N->p + P448_WIDTH, M.n * sizeof(mbedtls_mpi_uint)); in ecp_mod_p448()
[all …]