Commit Graph

319 Commits

Author SHA1 Message Date
terrafrost
65493ae3be Merge branch '2.0' into 3.0 2022-09-14 12:50:32 -05:00
terrafrost
73b149ea6d Merge branch '1.0' into 2.0 2022-09-13 23:59:59 -05:00
terrafrost
51cafda4a3 make PHP 8.1 32-bit changes compatable with raspberry pi's 2022-09-13 23:56:13 -05:00
terrafrost
0b9b0074c9 backport more dynamic property fixes 2022-08-23 20:01:11 -05:00
terrafrost
13b241e3e9 use libsodium's hex (en|de)coding if available 2022-08-19 22:49:26 -05:00
terrafrost
0b3cc98084 BigInteger: fix behavior on 32-bit PHP installs 2022-06-26 17:07:45 -05:00
Jack Worman
8855351cbb Remove_@access 2022-05-04 01:35:56 -05:00
terrafrost
eabe4aa23f Merge branch '1.0' into 2.0 2022-04-26 09:02:46 -05:00
terrafrost
c22bf62ce1 BigInteger: tweak to the phpinfo checks 2022-04-26 08:54:19 -05:00
terrafrost
eb971aaaac BigInteger: fix deprecation notice 2022-03-18 12:47:40 -05:00
terrafrost
887cf97185 fix pslam error 2022-03-11 19:14:07 -06:00
terrafrost
f04a4e6fda fix error in PHP EvalBarrett Engine: 2022-03-11 18:38:01 -06:00
terrafrost
26d8f7a250 make it so BigIntegers can be JSON serialized 2022-03-10 20:26:46 -06:00
terrafrost
815aa23b39 BigInteger/Engines/BCMath: bcmod got a third param in PHP 7.2.0
the third parameter also isn't set in any other bcmod call and
isn't needed for bccomp anyway as
bccomp('0.000', '0') == bccomp('0', '0')
2022-03-10 05:24:30 -06:00
terrafrost
2f57517bad BigInteger/Engines/PHP: trim 0's when a precision is being used 2022-03-08 23:37:29 -06:00
terrafrost
824b232b47 BigInteger: add precision to __debugInfo 2022-03-08 20:53:18 -06:00
terrafrost
04e46cf656 CS adjustment 2022-03-03 17:44:41 -06:00
Jack Worman
9e321981a2 Psalm coverage for phpseclib3\Math\
Revert accidental change
2022-03-03 17:40:20 -06:00
Jack Worman
6bad45c016 Psalm coverage for phpseclib3\Math\ 2022-03-03 17:37:26 -06:00
Jack Worman
b6f93a4a21 Psalm coverage for phpseclib3\Math\
Psalm coverage for phpseclib3\Math\
2022-03-03 17:36:10 -06:00
Jack Worman
6f2db49696 Psalm coverage for phpseclib3\Math\
Psalm coverage for phpseclib3\Math\
2022-03-03 17:20:24 -06:00
Jack Worman
ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
Jack Worman
7c000843ab Corrected many @return annotations in phpseclib/Net
Corrected many @return annotations in phpseclib/Net
2022-01-23 11:00:41 -06:00
terrafrost
c60b0c3cc7 Merge branch '1.0' into 2.0 2021-12-26 02:23:57 -06:00
David Anderson
a9ed96833e
Check existence of phpinfo() before using 2021-12-21 14:19:00 +00:00
terrafrost
13881b09d4 Travis: add PHP 8.1 support
See https://bugs.php.net/75474#1509646645 for more info on the static
change
2021-12-11 10:19:39 -06:00
terrafrost
e5e21c114f BigInteger: code cleanup
generateCustomReduction() is called by slidingWindow() and
createRecurringModuloFunction(). i suspect this code was an early
attempt to implement what'd later become createRecurringModuloFunction()
2021-08-14 18:15:14 -05:00
terrafrost
5e290492d1 Serializable is being deprecated in PHP 8.1 2021-07-22 09:19:15 -05:00
terrafrost
05539a72be PrimeField: plug memory leaks 2021-07-10 13:24:33 -05:00
Kyle
0f77cf3a59 Allow string for BigInteger
In real life BigInteger are used to store number too big to be `int` so `string` is actually the natural type to use
2021-04-26 09:07:55 -05:00
terrafrost
aac5b0a74c Merge branch '1.0' into 2.0 2021-02-26 09:17:52 -06:00
terrafrost
b2b867f032 BigInteger: fix issue with toBits on 32-bit PHP 8 installs 2021-02-26 09:17:05 -06:00
terrafrost
b49203d5b9 BigInteger: big speedups for when OpenSSL is used 2021-01-26 23:13:40 -06:00
terrafrost
bdb6c08c35 misc docblock adjustments 2021-01-25 12:36:02 -06:00
terrafrost
7b7d254a6c rm docblock templates 2020-12-30 09:08:05 -06:00
terrafrost
a19b5b4ca8 update how @internal phpdoc attributes are used 2020-12-30 05:05:54 -06:00
William Desportes
5711e7fbe4
Fix phpdoc issues reported by Doctum 2020-09-12 10:14:54 +02:00
William Desportes
480af6b980
Merge branch '2.0' into 3.0 2020-09-09 10:46:22 +02:00
William Desportes
05f6467b1d
Merge branch '1.0' into 2.0 2020-09-09 09:56:23 +02:00
William Desportes
2ae683479a
Fix phpdoc errors 2020-09-09 09:43:26 +02:00
terrafrost
653dbd7f94 rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch 2019-11-21 19:38:03 -06:00
terrafrost
677a15c122 Merge branch '2.0' 2019-09-15 17:31:53 -05:00
terrafrost
bd6dbd0695 Merge branch '1.0' into 2.0 2019-09-15 17:20:11 -05:00
terrafrost
11fea7d004 fix bug with toBytes() with fixed precision negative numbers 2019-09-15 17:19:35 -05:00
terrafrost
0c6ae076bb Merge branch '1.0' into 2.0 2019-08-03 09:07:59 -05:00
terrafrost
6ae67ef790 BigInteger: fix PHP 7.4 deprecations 2019-08-03 08:58:51 -05:00
terrafrost
7012e72488 mv Keys/ and Signature/ to Formats/* 2019-06-25 07:52:45 -05:00
terrafrost
640e3788f4 Merge branch '2.0' 2019-06-23 11:33:59 -05:00
terrafrost
d6819a55b0 Merge branch '1.0' into 2.0 2019-06-23 11:33:11 -05:00