Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Decp_curves.c5228 #define P448_WIDTH (448 / 8 / sizeof(mbedtls_mpi_uint)) macro
5253 mbedtls_mpi_uint Mp[P448_WIDTH + 1], Qp[P448_WIDTH]; in ecp_mod_p448()
5255 if (N->n <= P448_WIDTH) { in ecp_mod_p448()
5261 M.n = N->n - (P448_WIDTH); in ecp_mod_p448()
5262 if (M.n > P448_WIDTH) { in ecp_mod_p448()
5268 memcpy(Mp, N->p + P448_WIDTH, M.n * sizeof(mbedtls_mpi_uint)); in ecp_mod_p448()
5271 for (i = P448_WIDTH; i < N->n; i++) { in ecp_mod_p448()
5293 M.n = P448_WIDTH + 1; /* Make room for shifted carry bit from the addition */ in ecp_mod_p448()
Decp_curves_new.c5467 #define P448_WIDTH (448 / 8 / sizeof(mbedtls_mpi_uint)) macro
5513 size_t M_limbs = X_limbs - (P448_WIDTH); in mbedtls_ecp_mod_p448_raw()
5515 if (M_limbs > P448_WIDTH) { in mbedtls_ecp_mod_p448_raw()
5544 memcpy(M, X + P448_WIDTH, ((M_limbs - 1) * ciL)); in mbedtls_ecp_mod_p448_raw()
5547 memset(X + P448_WIDTH, 0, ((M_limbs - 1) * ciL)); in mbedtls_ecp_mod_p448_raw()
5588 memcpy(M, X + P448_WIDTH, ((M_limbs - 1) * ciL)); in mbedtls_ecp_mod_p448_raw()
5591 memset(X + P448_WIDTH, 0, ((M_limbs - 1) * ciL)); in mbedtls_ecp_mod_p448_raw()