1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-04 02:27:52 +01:00
Commit Graph

666 Commits

Author SHA1 Message Date
terrafrost
4f9e92b380 Merge branch '2.0' 2017-12-09 18:59:25 -06:00
terrafrost
87dd553517 Merge branch '1.0' into 2.0 2017-12-09 18:39:27 -06:00
terrafrost
b25681beeb fix float to int conversions on ARM CPU's 2017-12-09 18:16:48 -06:00
terrafrost
a96add4526 DSA/Signature/SSH2: fix infrequent error with too short sigs 2017-12-05 00:08:56 -06:00
terrafrost
defe0514a9 Random: CS adjustment 2017-12-03 22:42:58 -06:00
terrafrost
f0b1439639 Merge branch '2.0-travis-exp' into master-travis-exp 2017-12-03 22:41:02 -06:00
terrafrost
2f3c9197d9 Merge branch '1.0-travis-exp' into 2.0-travis-exp 2017-12-03 22:40:31 -06:00
terrafrost
ab5158dcd3 Random: return empty string if $length is 0 2017-12-03 22:39:01 -06:00
Sokolovskyy Roman
ee8f5e9769 Get rid of func_get_args() 2017-11-21 09:36:28 +01:00
terrafrost
ec579bd9ed revisions to rrran's PHPDoc changes 2017-11-05 14:35:27 -06:00
Sokolovskyy Roman
f40ea062c2 Lots of PHPDoc fixes 2017-10-25 11:44:14 +02:00
terrafrost
0a912b4818 Merge pull request #1193 from eternalharvest/bugfix/doccomment
Fix wrong doccomment annotation and Suggestion
2017-10-10 06:03:03 -05:00
Takuya Sawada
9e037309b9 SymmetricKey: refactor to simplify the code 2017-10-10 19:06:14 +09:00
Takuya Sawada
65cbc60918 SymmetricKey: fix indent style to follows the PSR-2 codeing style 2017-10-10 19:02:55 +09:00
terrafrost
245e7a15ca Merge branch '1.0' into 2.0 2017-10-05 05:37:56 -05:00
terrafrost
29fabaaa18 RSA: replace != with !$this->_equals 2017-10-05 05:31:19 -05:00
terrafrost
d1470644a2 Merge branch '1.0' into 2.0 2017-10-05 05:28:47 -05:00
terrafrost
aeb8a98a25 Crypt/Base: fix version_compare call 2017-10-05 05:28:16 -05:00
terrafrost
33de8b82d6 Merge branch '1.0' into 2.0 2017-10-05 05:26:49 -05:00
terrafrost
042c8a9239 RC4: don't assume key is "\0" by default 2017-10-05 05:26:23 -05:00
Takuya Sawada
7aa400745c SymmetricKey: add Eval engine implementation for 'cfb8' cipher mode of operation 2017-10-05 19:06:47 +09:00
Takuya Sawada
8604e327a3 SymmetricKey: add 'cfb8' cipher mode of operation support 2017-10-05 19:06:45 +09:00
Takuya Sawada
e3bdbf5e0a fix doccomment annotations 2017-10-05 18:46:59 +09:00
terrafrost
2608074e74 Merge branch '1.0-use-eval' into 2.0-use-eval 2017-10-04 17:08:27 -05:00
terrafrost
98d46db7c5 Crypt/Base: use eval() instead of create_function() for >= 5.3 2017-10-04 17:03:14 -05:00
terrafrost
1e9d20364c Merge pull request #1182 from eternalharvest/bugfix/doccomment
Fix wrong doccomment annotation of return type
2017-09-30 08:07:06 +01:00
terrafrost
af6048b48e AsymmetricKey: visibility fixes 2017-09-30 07:58:07 +01:00
Takuya Sawada
5a87cc525f fix wrong doccomment annotation of return type 2017-09-18 02:23:14 +09:00
terrafrost
9d8f014748 SymmetricKey: isValidKey took ints instead of strings 2017-08-07 23:57:02 -05:00
Sokolovskyy Roman
ccfb6c92bf Set of PHPDOC fixes 2017-08-03 09:16:37 +02:00
Sokolovskyy Roman
6181b2bfbd Set of PHPDOC fixes 2017-08-03 09:16:16 +02:00
Sokolovskyy Roman
a3b252150b Set of PHPDOC fixes 2017-08-03 09:14:32 +02:00
Sokolovskyy Roman
5fe61b325d PHPDOC fix 2017-08-03 09:12:07 +02:00
Sokolovskyy Roman
167718a046 Set of PHPDOC fixes 2017-08-03 09:11:44 +02:00
terrafrost
4a7d3d27ba DSA/Signatures/SSH2: self generated signatures wouldn't verify 2017-07-30 16:03:47 -05:00
Sokolovskyy Roman
800b81d3ef remove unneeded strlen call 2017-07-20 11:36:51 +02:00
Sokolovskyy Roman
65d9e2bb49 Added missin break
removed return statement
2017-07-20 11:35:08 +02:00
Sokolovskyy Roman
cc3f0c1ec1 Added missing private field 2017-07-20 11:10:06 +02:00
Sokolovskyy Roman
c603c2b2d0 Remove unused use
Fix in PHPDoc block
Wrong variable name fix
2017-07-20 11:09:29 +02:00
Sokolovskyy Roman
7a25abe60a PHPDoc fix
Using property instead of method call fix
2017-07-20 11:08:03 +02:00
terrafrost
7ef3864d22 RSA: RSAKeyValue -> RSAKeyPair for XML private keys 2017-06-28 23:19:50 -05:00
terrafrost
b46bedbdf7 SymmetricKey: use static::class instead of getClassContext() method 2017-06-28 07:34:51 -05:00
terrafrost
4171262b9e SymmetricKey: use strings for constructor and setPreferredEngine 2017-06-28 06:54:10 -05:00
terrafrost
819a165246 RSA: add enableBlinding() / disableBlinding() static methods 2017-06-26 23:19:30 -05:00
terrafrost
1630a6710d RSA/DSA: support XML keys with XML declarations 2017-06-26 21:58:20 -05:00
terrafrost
62a8047fa1 Hash: use hash extension for sha512/224 & sha512/256 on PHP 7.1+ 2017-06-26 21:45:29 -05:00
Matej Kravjar
47c419545a Fixed #632 Fatal error: Cannot access self:: when no class scope is active 2017-06-20 12:43:42 +02:00
terrafrost
6ca7323401 Merge branch '2.0' 2017-05-29 06:33:24 -05:00
terrafrost
a4cd384bab Merge branch '1.0' into 2.0 2017-05-29 06:32:23 -05:00
terrafrost
a451dd69f8 RSA: reset variables if bad key was loaded 2017-05-29 06:31:54 -05:00