Commit Graph

3668 Commits

Author SHA1 Message Date
terrafrost
de63198197 PrimeField: docblock cleanup 2019-01-07 06:34:00 -06:00
terrafrost
4ae33f9bde BinaryField: speed up multiplication for GCM and smaller curves 2019-01-07 06:33:11 -06:00
terrafrost
835b1207fa SSH2: replace "$this->object !== false" with "$this->object" 2018-12-31 14:14:43 -06:00
terrafrost
17e6938fba updates to Exceptions 2018-12-31 09:55:32 -06:00
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
97d41fd3aa SSH2: make bad_algorithm_candidate method static 2018-12-29 20:54:18 -06:00
terrafrost
5126937d40 Rijndael: replace block size switch with a single variadic function 2018-12-29 19:35:05 -06:00
terrafrost
cef647f9a9
Merge pull request #1330 from terrafrost/gcm
add support for Galois/Counter Mode (GCM)
2018-12-29 19:33:58 -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
b76a67dfb4 Merge branch '2.0' 2018-12-16 11:45:37 -06:00
terrafrost
42603ce3f4 Merge branch '1.0' into 2.0 2018-12-16 11:45:25 -06:00
terrafrost
a9c0e2d430 SSH2: setTimeout(0) didn't work as intended 2018-12-16 11:44:58 -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
50f9e1a71a Tests/AES: add unit test for encrypting without a key 2018-12-02 11:58:07 -06:00
terrafrost
479fa4ce3d BigInteger: add getEngine() static method 2018-12-02 10:58:07 -06:00
terrafrost
b4ef9a1cae BigInteger: random() would error out if a BigInteger wasn't defined 2018-12-02 10:41:24 -06:00
terrafrost
3ecc62912d throw exceptions when signing / verification is attempted w/o a key 2018-12-02 07:17:17 -06:00
terrafrost
8b2ef543ab Merge branch '2.0' 2018-12-01 23:14:37 -06:00
terrafrost
6b6c869bb8 Merge branch '1.0' into 2.0 2018-12-01 23:14:10 -06:00
terrafrost
363ffc9cfd System/SSH/Agent: CS adjustment 2018-12-01 23:10:54 -06:00
terrafrost
ab49ab9dca Merge branch '2.0' 2018-12-01 22:47:04 -06:00
terrafrost
1bb2826ab1 Merge branch '1.0' into 2.0 2018-12-01 22:46:13 -06:00
terrafrost
fbef6f009f System/SSH/Agent: add parameter to constructor 2018-12-01 22:41:45 -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
d234297819 Tests/ECDSA: test to make sure that k is not re-used 2018-11-24 22:13:40 -06:00
terrafrost
3c4fbe131f Tests/ECDSA: make tests work on PHP 5.6 (by skipping some tests) 2018-11-24 08:32:14 -06:00
terrafrost
669ba5224f SSH2: rm debug code 2018-11-23 00:50:56 -06:00
terrafrost
e006f5b326 Merge branch '2.0' 2018-11-22 21:55:51 -06:00
terrafrost
f3ea7ae986 Merge branch '1.0' into 2.0 2018-11-22 21:19:33 -06:00
terrafrost
8f2a0e6f0d System/SSH/Agent: add support for rsa-sha2-256 / rsa-sha2-512 2018-11-22 20:47:15 -06:00
terrafrost
e1961c598d Merge branch '2.0' 2018-11-22 13:33:35 -06:00
terrafrost
476cb127b1 X509: fix errors with validateDate 2018-11-22 13:28:42 -06:00
terrafrost
ec7454dd78 Tests/X509: update test for 2.0 2018-11-22 13:23:02 -06:00
terrafrost
0cb026f5a2 Merge branch '1.0' into 2.0 2018-11-22 12:50:04 -06:00
terrafrost
431b3570fa Tests/X509: add validatedate unit test 2018-11-22 12:40:32 -06:00
terrafrost
3423c74f9a Merge branch 'master' of https://github.com/phpseclib/phpseclib 2018-11-20 08:29:11 -06:00