Commit Graph

1933 Commits

Author SHA1 Message Date
Karel Miko
0de6fa3084 Update makefiles 2018-11-07 09:15:34 +01:00
karel-m
3fa462a7f0
Merge pull request #464 from fperrad/20181029_indent
fix indentation
2018-10-29 20:33:05 +01:00
Francois Perrad
acf3fcda84 fix indentation 2018-10-29 18:56:02 +01:00
karel-m
f413335b2a
Merge pull request #463 from libtom/pr/ssh-decode-encode-fix
Avoid using LOAD32H/STORE32H with unsigned long
2018-10-29 13:04:52 +01:00
Karel Miko
09d116da87 avoid using LOAD32H/STORE32H with unsigned long 2018-10-29 11:28:07 +01:00
karel-m
62cd87342e
Merge pull request #451 from libtom/pr/wycheproof-gcm
Wycheproof failing GCM test - invalid/modified tag
2018-10-29 07:28:56 +01:00
Karel Miko
7d8567695b update doc - chacha20poly1305_memory + gcm_memory 2018-10-29 07:28:18 +01:00
Karel Miko
9a1131da14 add tag validation to chacha20poly1305_memory in decrypt mode 2018-10-29 07:28:18 +01:00
Karel Miko
fd4d8fbc05 add tag validation to gcm_memory in decrypt mode 2018-10-29 07:28:18 +01:00
Karel Miko
27c472654c fix chacha20poly1305 encrypt/decrypt empty pt/ct 2018-10-29 07:28:18 +01:00
Karel Miko
2599618ca6 wycheproof failing test - invalid/modified tag 2018-10-29 07:28:18 +01:00
karel-m
60eb5d0591
Merge pull request #454 from libtom/pr/wycheproof-padding
Wycheproof failing PKCS7 depadding test
2018-10-29 07:27:26 +01:00
Karel Miko
dee704d063 padding_depad + PKCS7 - reject invalid pad 0 2018-10-29 07:26:40 +01:00
Karel Miko
2adc261612 wycheproof failing PKCS7 depadding test 2018-10-29 07:26:40 +01:00
karel-m
332f66dfbe
Merge pull request #452 from libtom/pr/wycheproof-ccm
Wycheproof failing CCM test - invalid tag len
2018-10-29 07:25:55 +01:00
Steffen Jaeckel
9a0df8d936 fix scan-build 2018-10-27 10:50:27 +02:00
Steffen Jaeckel
ac5192cf56 update CCM tv's and tv generation 2018-10-27 10:50:27 +02:00
Karel Miko
890c1a8dad fix - CCM invalid tag len 2018-10-27 10:50:27 +02:00
Karel Miko
93c676ccd8 wycheproof failing CCM test - invalid tag len 2018-10-27 10:50:27 +02:00
karel-m
983fd25e40
Merge pull request #459 from libtom/pr/copy_or_zeromem
Avoid LTC_ARGCHK in void functions
2018-10-27 10:46:53 +02:00
Karel Miko
058a7e2c4e properly use LTC_ARGCHKVD in void function 2018-10-26 19:35:06 +02:00
Steffen Jaeckel
99f9181f67
Merge pull request #456 from dinamicoplus/patch-1
Fix RSA Encryption Example
2018-10-25 16:42:54 +02:00
Marcos Brito
be29591812
Fix RSA Encryption Example
RSA Encryption Example is missing a closing comment bracket */
2018-10-25 16:34:45 +02:00
Karel Miko
9c0d708523 fix typo pkcs7_depad > padding_depad [skip-ci] 2018-10-15 10:51:17 +02:00
karel-m
fba6ae3ed7
Merge pull request #447 from libtom/pr/ecc-LTC_ECCSIG_RFC7518_RELAXED
Make LTC_ECCSIG_RFC7518 strict (again)
2018-10-13 18:50:48 +02:00
Karel Miko
c2cdaaab4d make LTC_ECCSIG_RFC7518 strict (again) 2018-10-13 18:48:49 +02:00
karel-m
dec99ed99c
Merge pull request #438 from rmw42/feature/ssh-ecdsa
LTC_ECCSIG_RFC5656 SSH+ECDSA signature format
2018-10-13 17:51:29 +02:00
Russ Williams
4ee5bfc013 GCC 4.8 -Wmaybe-uninitialized is *really* dumb 2018-10-12 10:22:10 +01:00
Russ Williams
7c4d7cb610 Fixes suggested by Matt Johnston 2018-10-12 10:22:10 +01:00
Russ Williams
9706aa62a7 Update makefiles 2018-10-12 10:22:10 +01:00
Russ Williams
b4b50cc0c6 Initial commit of SSH+ECDSA signature format
Wrap signature format in #ifdef LTC_SSH
Update docs
Code review fixes
Replace strcmp/memcmp with XSTRCMP/XMEMCMP for check-source
Fix for check-defines
XSTRCMP/XMEMCMP != 0
GCC7.3 wants only literal strings for sprintf format
Code review changes
Rework SSH decoding and tests
Fix encoding and tests
COMPARE_TESTVECTOR macro
Single return point in ssh_decode_sequence_multi
Actually use XSTRNCPY rather than just defining it
More code review fixes
Code review tweaks
Ensure it's not possible to read past buffer end
Keep track of size remaining, not end pointer
2018-10-12 10:22:10 +01:00
Steffen Jaeckel
2e7c194322
Merge pull request #445 from fperrad/20181007_lint
pbes: some linting
2018-10-08 15:34:49 +02:00
Francois Perrad
a381957846 more const 2018-10-07 14:52:43 +02:00
Francois Perrad
bd767a3116 fix condition 2018-10-07 14:52:36 +02:00
Francois Perrad
46bb470aaa remove useless initialization 2018-10-07 14:52:16 +02:00
Steffen Jaeckel
838feac7c6
Merge pull request #404 from libtom/pr/pkcs8-improved
Improved pkcs8 support
2018-10-07 11:40:30 +02:00
Steffen Jaeckel
a55e7caa48 fix missing handling of optional keyLength in PBKDF2-params 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
f81bdc46e7 add more rsa-pkcs8 PBES2-RC2 test-files 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
c96639bef6 add rsa-pkcs8 PBES2 AES and SHA512-224/256 test-files 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
cbe65fe59a add rsa-pkcs8 PBE-SHA1-3DES test-file 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
8fabca6171 merge duplicated tables into separate chapter
[skip ci]
2018-10-06 23:04:51 +02:00
Karel Miko
14b09138a9 doc update
[skip ci]
2018-10-06 23:04:51 +02:00
Karel Miko
8349eda5a5 fix LTC_EASY test failure 2018-10-06 23:04:51 +02:00
Karel Miko
e5a2683f5b RSA - pkcs8 test keys 2018-10-06 23:04:51 +02:00
Karel Miko
2dd8bcdfe9 rsa_import_pkcs8 tests 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
7af942a66b use pkcs8_decode_flexi() in rsa_import_pkcs8() 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
52c5473a13 use pkcs8_decode_flexi() in ecc_import_pkcs8() 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
bc673c2853 implement pkcs8_decode_flexi() 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
a2ec37b93c refactor PBES into separate modules 2018-10-06 23:04:51 +02:00
Steffen Jaeckel
aac1e592b4 Update makefiles 2018-10-06 23:04:51 +02:00