Commit Graph

382 Commits

Author SHA1 Message Date
terrafrost 550dcb3e13 Merge branch '3.0' 2024-05-01 15:15:49 -05:00
terrafrost 2689c727e7 BigInteger: EvalBarrett / Barrett could sometimes slow to a crawl 2024-05-01 15:12:04 -05:00
Ayesh Karunaratne 6931c96422
[PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-03-16 02:33:11 +07:00
terrafrost b55fdb54b0 BigInteger: dev-master updates 2024-02-24 14:33:20 -06:00
terrafrost f333669742 Merge branch '3.0' 2024-02-24 14:27:26 -06:00
terrafrost a922309855 BigInteger: optimize getLength() 2024-02-24 14:26:29 -06:00
terrafrost 1143630279 Merge branch '3.0' 2024-02-24 12:23:41 -06:00
terrafrost 0358eb163c Merge branch '2.0' into 3.0 2024-02-24 08:38:47 -06:00
terrafrost 2124f399b4 BigInteger: rm visibility modifiers from static variables
the non static variables don't have privacy modifiers so idk that
the static ones ought to either. phpseclib 3.0 uses privacy
modifiers but not the 2.0 branch
2024-02-23 21:55:47 -06:00
terrafrost e46ef4cdf7 Merge branch '1.0' into 2.0 2024-02-23 19:15:25 -06:00
terrafrost ad5dbdf212 BigInteger: put guardrails on isPrime() and randomPrime() 2024-02-23 08:57:22 -06:00
terrafrost f62b5f832e Merge branch '3.0' 2023-11-24 06:01:54 -06:00
terrafrost 1513383a8c BigInteger/Engines/PHP: Windows JIT impl issue has been resolved 2023-11-24 06:01:28 -06:00
terrafrost 77b00c3169 CS adjustment 2023-11-22 05:12:24 -06:00
terrafrost f6801388a8 Merge branch '3.0' 2023-11-21 19:11:59 -06:00
terrafrost 964d78101a Math/BinaryField: fix for excessively large degrees 2023-11-21 19:10:46 -06:00
terrafrost ec6338ecd2 another CS adjustment after merger 2023-11-01 20:51:12 -05:00
terrafrost afeffdea3c Merge branch '3.0' 2023-11-01 20:50:22 -05:00
terrafrost 5b27f8f26e CS adjustments 2023-11-01 20:30:35 -05:00
terrafrost 93417928cc Merge branch '3.0' 2023-10-31 09:51:13 -05:00
terrafrost ce753669bc PrimeField: fix error with squareRoot method 2023-10-31 08:47:58 -05:00
terrafrost fa53d11807 more CS adjustments 2023-09-25 11:22:02 -05:00
terrafrost 839fd018d8 Merge branch '3.0' 2023-09-25 07:04:36 -05:00
Daniil Gentili 7b9ab171ce
Refactor 2023-09-22 10:07:03 +02:00
Daniil Gentili e113bb35e7
Move JIT check to BigInteger 2023-09-20 14:36:32 +02:00
terrafrost 0893147281 Merge branch '3.0' 2023-08-31 09:30:23 -05:00
terrafrost 615d6cfc7c BigInteger: fix more PHP32-bit errors 2023-08-31 09:28:16 -05:00
terrafrost 5babbd028c Merge branch '3.0' 2023-07-26 22:00:22 -05:00
terrafrost 25a06f0071 Math/PrimeField: fix for when garbage collection has wiped data 2023-07-26 21:34:39 -05:00
terrafrost a7cfd2440a Merge branch '3.0' 2023-07-25 20:37:18 -05:00
terrafrost f01892a9db BigInteger: use GMP if it's available 2023-07-25 20:32:42 -05:00
terrafrost 749cacea58 Merge branch '3.0' 2023-07-09 09:53:26 -05:00
terrafrost 0740d58136 BigInteger: do PHP64 w/ OpenSSL before BCMath w/ OpenSSL 2023-07-09 08:51:55 -05:00
terrafrost 249d17f921 BigInteger: BCMath w/o OpenSSL should never be reached 2023-07-09 00:37:53 -05:00
terrafrost e7af70d1dd Merge branch '3.0' 2023-07-08 13:28:41 -05:00
terrafrost 37c6f5255c BigInteger: update engine preferences 2023-07-08 13:27:16 -05:00
terrafrost 5a02ce27ac CS adjustment 2023-07-02 12:45:16 -05:00
terrafrost 656a46ae12 Merge branch '3.0' 2023-06-25 10:03:23 -05:00
terrafrost bc8e0ed636 BigInteger: speed up powMod() method 2023-06-25 10:03:16 -05:00
terrafrost ea0a2375d2 Merge branch '3.0' 2023-03-03 14:55:02 -06:00
Simon Podlipsky 530f8ab210 feat: add return types to few jsonSerialize() 2023-03-03 14:54:56 -06:00
terrafrost a8e90331c1 Merge branch '3.0' 2023-03-03 14:23:11 -06:00
Simon Podlipsky c053b895c8 style: add newline at end of BigInteger.php file 2023-03-03 14:23:02 -06:00
terrafrost e77c881b54 Merge branch '3.0' 2023-03-02 03:49:40 -06:00
terrafrost 6298d1cd55 PrimeField: prevent infinite loop with composite primefields 2023-03-02 03:25:08 -06:00
terrafrost 1b1e729632 backport enhancements from the 2.0 branch 2023-02-11 22:20:03 -06:00
terrafrost 5d51328dd5 Merge branch '3.0' 2023-02-11 20:57:49 -06:00
terrafrost d3e72bd1fc Merge branch '2.0-github-actions' into 3.0 2023-02-11 20:40:52 -06:00
terrafrost e42185c672 BigInteger: fix for hex numbers with new lines in them 2023-02-11 19:08:08 -06:00
Simon Podlipsky 97ea650dba fix: drop use of "self" in callable as it's deprecated since php 8.2 2022-12-17 08:49:29 -06:00