[php-src] master: [skip ci] UPGRADING: Update gmp_powm_sec() requirement details
Weilin Du via GitHub <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-08-15T01:14:55+08:00
Commit: https://github.com/php/php-src/commit/aa23306d8bed6cc5678900de590ba539d3a1fca0
Raw diff: https://github.com/php/php-src/commit/aa23306d8bed6cc5678900de590ba539d3a1fca0.diff
[skip ci] UPGRADING: Update gmp_powm_sec() requirement details
Clarified the requirement for gmp_powm_sec() regarding Windows builds using MPIR. So we stay consistent with the description of gmp_prevprime().
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 5d1f69f63b58..390012a80702 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -335,7 +335,8 @@ PHP 8.6 UPGRADE NOTES
- GMP:
. Added gmp_powm_sec() for side-channel quiet modular exponentiation.
- Requires GNU MP 5.0.0 or later.
+ Requires GNU MP 5.0.0 or later; it is not available on official Windows
+ builds using MPIR.
. Added gmp_prevprime() to get the largest prime smaller than the given
number. The optional $definitely_prime output parameter indicates whether
the returned number is definitely prime, as opposed to probably prime.