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
Steffen Jaeckel
0af0033390
add empty der_decode_pkcs8_flexi.c
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
362e0c9284
add pk_oid_cmp_with_ulong()
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
4abd84b7c3
Update makefiles
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
3d6a49a64b
rename pk_oid_asn1.c to pk_oid_cmp.c
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
498a534b9c
Update makefiles
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
97d1c17c8d
add empty pbes files
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
6bdfa7c428
add _der_flexi_sequence_cmp()
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
c56053870a
pkcs#8 support for aes and reduced sha512
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
36d603e3d2
re-factor ecc_import_pkcs8()
2018-10-06 23:04:51 +02:00
Karel Miko
3c9d2ebc5e
clang-tidy fix misc-suspicious-string-compare
2018-10-06 23:04:51 +02:00
Karel Miko
e29fecde12
use ecc_find_curve + ecc_set_curve
2018-10-06 23:04:51 +02:00
Karel Miko
8207a6a1c4
use pkcs12_kdf + pkcs12_utf8_to_utf16
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
c4642bacf0
mark fall-through in switch-case to calm linter
2018-10-06 23:04:51 +02:00
Steffen Jaeckel
93e758a82e
introduce LTC_ASN1_IS_TYPE()
2018-10-06 23:04:51 +02:00
Karel Miko
bf04bf18a4
add ecc_import_pkcs8
2018-10-06 23:04:51 +02:00
Karel Miko
7529e02b96
Update makefiles
2018-10-06 23:04:51 +02:00
karel-m
223ece7f6d
Merge pull request #443 from libtom/pr/ecc-verify-was-too-strict
...
Less strict ecc_verify_hash_ex (as it was before ecc_recover_key)
2018-10-05 12:32:49 +02:00
Karel Miko
59bc3b5885
make ecc_verify_hash_ex less strict (as it was before ecc_recover_key addition)
2018-10-05 07:44:15 +02:00
karel-m
4d6f973b2d
Merge pull request #444 from libtom/pr/fix-unused-macros
...
Remove unused macros
2018-10-05 07:05:29 +02:00