terrafrost
c6f9807633
SymmetricKey: don't define self::$gcmField unless we're in GCM mode
2018-12-30 10:14:51 -06:00
terrafrost
f98e0afc76
AES: move GCM code to Rijndael
2018-12-30 02:15:06 -06:00
terrafrost
5abb16dc6d
SymmetricKey: simplify mode setup
2018-12-30 01:30:21 -06:00
terrafrost
a8d07e3dcb
SymmetricKey: make $cipher_name_openssl_ecb static
2018-12-29 23:21:18 -06:00
terrafrost
49be6e5529
Hash: rm function_exists calls for hash extension functions
2018-12-29 23:09:33 -06:00
terrafrost
e2256f4267
Hash: fix grammer error
2018-12-29 23:05:20 -06:00
terrafrost
5126937d40
Rijndael: replace block size switch with a single variadic function
2018-12-29 19:35:05 -06:00
terrafrost
01c92a59f8
add support for Galois/Counter Mode (GCM)
2018-12-27 08:31:35 -06:00
terrafrost
a30cfff79c
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2018-12-16 19:04:43 -06:00
terrafrost
3dbc50c667
Merge branch 'post-ecdsa'
2018-12-16 19:03:44 -06:00
terrafrost
d37969a345
Merge pull request #1322 from terrafrost/ecdsa
...
add ECDSA / EdDSA support
2018-12-16 17:46:28 -06:00
terrafrost
8e977b4e59
ECDSA: CS adjustments to curves
2018-12-03 03:47:46 -06:00
terrafrost
7fb7e6ce52
Twofish: make tables static
2018-12-02 14:28:14 -06:00
terrafrost
e758878580
RC2: make pitable / invpitable tables static
2018-12-02 14:13:08 -06:00
terrafrost
b278bc7e7e
DES: make sboxes static
2018-12-02 13:59:42 -06:00
terrafrost
4679cb7bf7
Blowfish: make sboxes static
2018-12-02 12:42:53 -06:00
terrafrost
9bcd851e97
Blowfish: CS adjustments (" -> ')
2018-12-02 12:21:56 -06:00
terrafrost
5bcb298af7
SymmetricKey: throw an exception when en/de-crypting w/o a key
2018-12-02 12:01:56 -06:00
terrafrost
3ecc62912d
throw exceptions when signing / verification is attempted w/o a key
2018-12-02 07:17:17 -06:00
terrafrost
2c1994805b
ECDSA: make it so hash can't be changed for Ed25519 / Ed448
2018-11-29 10:05:28 -06:00
terrafrost
9ccfaff7ba
expand on eval() explanation
2018-11-20 08:26:17 -06:00
terrafrost
0398f7a815
add ECDSA / EdDSA support
2018-11-19 12:39:21 -06:00
terrafrost
405ed06e8a
Merge branch '2.0'
2018-10-13 08:18:47 -05:00
terrafrost
3119bb98e3
Merge branch '1.0' into 2.0
2018-10-13 08:15:46 -05:00
terrafrost
f0f7350045
Crypt/Base: if derived key length is 0 or less use hash length
2018-10-13 08:10:34 -05:00
terrafrost
39d3ffbeb1
Hash: use hash method for sha3 when available
2018-10-13 07:48:47 -05:00
terrafrost
3df87e8632
Merge branch '2.0'
2018-10-13 00:50:48 -05:00
terrafrost
f938922cfc
Merge branch '1.0' into 2.0
2018-10-12 23:05:42 -05:00
terrafrost
2d7aadc689
Hash: tweaks to hash pre-computation
2018-10-12 23:04:57 -05:00
terrafrost
a1513eb02f
Merge branch '2.0'
2018-10-12 22:44:14 -05:00
terrafrost
f5a9c0806a
Merge branch '1.0' into 2.0
2018-10-12 21:44:52 -05:00
terrafrost
685e0abcc6
Hash: save hashed keys for re-use
2018-10-12 21:18:23 -05:00
Filippo Tessarotto
19f706003e
Explain the kraken
2018-10-09 08:35:56 +02:00
terrafrost
7740d9c0c0
Hash: add sha3 support
2018-08-11 23:55:41 -05:00
terrafrost
78eb98311f
Merge branch '2.0'
2018-04-29 16:56:35 -05:00
Bilge
8c299f865f
Fixed some RSA docblock types.
2018-04-25 21:18:51 +01:00
terrafrost
3dae376e9c
Merge remote-tracking branch 'J5lx/2.0-cfb8' into 2.0
2018-03-27 11:06:11 -05:00
Jakob Gahde
8e6948fdd2
Backport CFB8 support from master
2018-03-27 04:32:16 +02: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
2a6f5f825a
Asymmetric: fix for phar's
...
Inspired by 4e367c9631
2018-02-23 21:15:33 -06:00
terrafrost
b9cd84108c
AES: fix issue preventing ECB mode from decrypting
2018-02-21 08:26:52 -06:00
terrafrost
55384afdac
RSA: make it so you can't sign w/ public key, decrypt w/ private
2018-02-18 16:03:06 -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
b8d826f04f
Trying to fix unit tests
2017-12-21 10:17:30 +01:00
terrafrost
e935c131e3
Merge branch '1.0' into 2.0
2017-12-19 07:27:55 -06:00
terrafrost
c340d62548
Crypt: some of the minimum key lengths were off
2017-12-19 07:04:36 -06:00
terrafrost
19a46748a2
Merge branch '2.0'
2017-12-17 16:25:30 -06:00
terrafrost
37922e5b4c
Merge branch '1.0' into 2.0
2017-12-17 15:05:15 -06:00
terrafrost
6930560ae6
more adjustments for ARM CPU's
2017-12-17 14:52:43 -06:00