1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-03 13:22:02 +03:00

Merge pull request #8660 from ivq/fix_ecp_comment

Fix a comment in ecp
This commit is contained in:
Janos Follath 2024-02-13 12:12:10 +00:00 committed by GitHub
commit 09cd7dd96a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2614,8 +2614,8 @@ static int ecp_mul_mxz(mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
/* RP.X might be slightly larger than P, so reduce it */
MOD_ADD(RP.X);
/* Randomize coordinates of the starting point */
#if defined(MBEDTLS_ECP_NO_INTERNAL_RNG)
/* Derandomize coordinates of the starting point */
if (f_rng == NULL) {
have_rng = 0;
}