terrafrost
016b252bbb
Merge branch '2.0'
2018-10-08 07:36:04 -05:00
terrafrost
3e41dc7c07
Merge branch '1.0' into 2.0
2018-10-08 07:35:56 -05:00
terrafrost
f2d92cd4b2
BigInteger: rm pear.php.net link
2018-10-08 07:35:36 -05:00
terrafrost
ab270d1602
Merge branch '2.0'
2018-04-10 00:19:49 -05:00
terrafrost
4548b45b9e
Merge branch '1.0' into 2.0
2018-04-09 23:57:25 -05:00
terrafrost
c63c223972
BigInteger: fix for (new BigInteger(48))->toString(true)
2018-04-09 23:47:38 -05:00
terrafrost
a3081aa7f8
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2018-04-03 20:30:27 -05:00
terrafrost
011f6ad200
BigInteger/PHP: make sure that zero is represented uniformly
2018-04-03 20:23:47 -05:00
Wes
d4a98457bc
Check phpinfo() is available before using
...
Fixes an issue I raised at https://github.com/phpseclib/phpseclib/issues/1255
Proof of logic at https://3v4l.org/RqrHt
I ended up moving more code than discussed in the issue - initially to avoid `$content` being undefined when it came to `preg_match_all()`, but also as it made sense grouping the code that way. Also, initialising `$versions` outside the check, right at the start ensures it's always defined for the `switch` code further down.
2018-03-24 11:05:16 +00:00
luz.paz
380517ef00
Misc. trivial typos
...
Found via `codespell -q 3`
2018-03-03 07:07:14 -05:00
terrafrost
44ac8f3996
Merge branch '2.0'
2018-01-22 07:26:57 -06:00
terrafrost
364e05babf
Merge branch '1.0' into 2.0
2018-01-22 07:22:29 -06:00
terrafrost
92623daba8
BigInteger: fix issues with bitwise_xor
2018-01-22 00:38:42 -06:00
terrafrost
239a32ff06
Merge pull request #1222 from rrran/extract_func_phpdoc
...
Add PhpDoc @var for extract() functions
2017-12-23 14:18:28 -06:00
Sokolovskyy Roman
62ee1a5747
Multiline phpdoc for extract to one liner
2017-12-21 10:14:53 +01:00
terrafrost
0074539429
Merge branch 'array_to_short_syntax'
2017-12-04 23:03:35 -06:00
Sokolovskyy Roman
c705e7d9c6
Add PhpDoc @var for extract() functions
2017-12-04 11:11:43 +01:00
Sokolovskyy Roman
966ee7f170
Long array() to short [] syntax
2017-11-27 09:30:14 +01:00
terrafrost
88b34382f9
Merge branch '2.0-is-prime'
2017-11-22 19:52:49 -06:00
terrafrost
cd58e3be1d
Merge branch '1.0-is-prime' into 2.0-is-prime
2017-11-22 19:50:49 -06:00
terrafrost
5ba61146e6
BigInteger: adjustment to isPrime
2017-11-22 19:49:55 -06:00
terrafrost
ec579bd9ed
revisions to rrran's PHPDoc changes
2017-11-05 14:35:27 -06:00
terrafrost
10828543ce
Merge remote-tracking branch 'rrran/Fixes3'
2017-11-05 13:16:03 -06:00
terrafrost
5f3c49cbcc
Merge remote-tracking branch 'lzylinl/master'
2017-11-05 12:57:29 -06:00
terrafrost
6f6b93b012
BigInteger/GMP: use gmp_import / gmp_export
2017-11-05 12:33:22 -06:00
terrafrost
5801806d23
BigInteger/GMP: fix casting error
2017-11-05 12:28:16 -06:00
terrafrost
c7606818e0
BigInteger/Engines/PHP: small optimization to EvalBarrett engine
2017-11-05 01:56:04 -05:00
terrafrost
ff595f9951
BigInteger/Engines/PHP: fix issues with EvalBarrett reduction
2017-11-05 01:33:57 -05:00
terrafrost
5eec16041d
BigInteger/Engines/PHP: HAC 14.42.2 does mod $b^{k+1}$
2017-11-04 12:28:38 -05:00
terrafrost
f01cc6b099
BigInteger/Engines/PHP: fix issue with regular barrett engine
2017-11-04 02:16:01 -05:00
terrafrost
410e5aed96
BigInteger/Engines/PHP: use regular barrett for PHP32 engine
2017-11-04 02:15:32 -05:00
Sokolovskyy Roman
f40ea062c2
Lots of PHPDoc fixes
2017-10-25 11:44:14 +02:00
zylin
2fcc294cc6
Sometimes at php7 uniqid() return same result as their previous call. Here generates few equal labels wich makes error on eval. Does not know why uniqid() return same values but this is fact and my construction is more correct than previous. No need to call label id generation and use dirty goto :')
2017-10-23 22:31:18 +02:00
terrafrost
7a2f2e8e6b
BigInteger\PHP: self::$primes -> static::$primes
2017-10-21 12:32:56 -05:00
terrafrost
ce92283c10
Merge branch '2.0'
2017-10-05 05:42:38 -05:00
terrafrost
6d51f2bf85
BigInteger: update bitwise_not fix for 2.0
2017-10-05 05:39:00 -05:00
terrafrost
245e7a15ca
Merge branch '1.0' into 2.0
2017-10-05 05:37:56 -05:00
terrafrost
a7ebe7d39d
BigInteger: fix bitwise_not for 0
2017-10-05 05:37:42 -05:00
terrafrost
03e15a5ab9
BigInteger: make constructor catch behave same as setEngine
2017-10-01 07:55:00 +01:00
terrafrost
256ffcca7b
Merge remote-tracking branch 'pcf0/fix-biginteger-badconfigurationexception'
2017-10-01 07:53:54 +01:00
PCF
43803c6872
Catch BadConfigurationException in BigInteger
2017-09-30 02:47:00 +02:00
terrafrost
58768cb5aa
Merge branch 'gmp-1.0' into gmp-2.0
2017-09-10 15:02:34 -05:00
terrafrost
b6d0e37432
BigInteger: use gmp_import / gmp_export when available
2017-09-10 14:56:57 -05:00
Sokolovskyy Roman
25c1ae6e00
Merge remote-tracking branch 'origin/master' into Bugfixes2
2017-08-09 12:28:02 +02:00
terrafrost
e7e30cd239
BigInteger: undo visibility changes
2017-08-07 22:38:56 -05:00
Sokolovskyy Roman
55cacdf7cd
More PHPDOC fixes
2017-08-04 12:06:25 +02:00
Sokolovskyy Roman
de2e4662b0
Fixed wrong use of new self(1);
2017-08-03 09:26:46 +02:00
Sokolovskyy Roman
7bffa6bb8f
Set of PHPDOC fixes
2017-08-03 09:26:09 +02:00
Sokolovskyy Roman
6f36c49baa
Fixed methods visibility
2017-08-03 09:20:33 +02:00
Sokolovskyy Roman
d13f429b77
PHPDOC fixes
2017-08-03 09:20:17 +02:00