Commit Graph

691 Commits

Author SHA1 Message Date
Karel Miko
b3534def42 Merge branch 'fperrad-20170225_lint' into develop 2017-02-28 23:07:31 +01:00
Francois Perrad
eca2290b1e missing prototypes 2017-02-28 23:07:06 +01:00
Francois Perrad
27280b86b3 static functions 2017-02-28 23:07:06 +01:00
Steffen Jaeckel
acfd16c60a fix compile error 2017-02-28 21:23:39 +01:00
karel-m
c8c0898bcb Merge pull request #149 from libtom/feature/travis_clang
Add clang to the travis build matrix
2017-02-28 20:30:15 +01:00
Steffen Jaeckel
3dbd250bc9 Add clang to the travis build matrix 2017-02-28 20:29:36 +01:00
karel-m
2edc0aeb66 Merge pull request #152 from libtom/pr/wchar-troubles-max-FFFF
better handling wchar_t when __WCHAR_MAX__ is 0xFFFF (2 bytes only)
2017-02-28 20:27:03 +01:00
Karel Miko
4bd327a4cc better handling wchar_t when __WCHAR_MAX__ is 0xFFFF (2 bytes only) 2017-02-28 20:24:49 +01:00
Karel Miko
05f85c3e6d RS2 remove 40bit limit 2017-02-28 20:20:51 +01:00
Karel Miko
797031170d Merge branch 'fix/135' into develop 2017-02-28 20:17:11 +01:00
Steffen Jaeckel
03f0674985 add compare_testvector() prototype to tomcrypt_misc.h 2017-02-28 20:09:32 +01:00
Steffen Jaeckel
9a29428f8e Add secondary rc2 setup function
...to be able to pass the effective key length.
2017-02-28 20:09:32 +01:00
Steffen Jaeckel
43c50423ad add yet another testvector 2017-02-28 20:09:32 +01:00
Steffen Jaeckel
952caf3cd7 add testvectors for smaller RC2 keysizes
originates from rfc2268

1 byte keylen is commented
2017-02-28 20:09:32 +01:00
Steffen Jaeckel
19c81bbbee fix typo 2017-02-28 20:09:32 +01:00
Karel Miko
344620a0e7 fixes #135 RC2 min keylen 40bit (was 64bit) 2017-02-28 20:09:32 +01:00
Karel Miko
e96a895d0d Merge branch 'fperrad-perlcritic' into develop 2017-02-28 20:00:25 +01:00
Francois Perrad
808616d406 sanitize some Perl scripts
(Perl4 is gone)
2017-02-28 19:59:58 +01:00
karel-m
4cdc304e37 Merge pull request #153 from libtom/fix/54-part1
part of feature/doc changes from #54
2017-02-28 19:53:03 +01:00
Karel Miko
6c8d00d1fd part of feature/doc changes 2017-02-28 17:35:57 +01:00
karel-m
b44aa8fa83 Merge pull request #151 from libtom/pr/adler32-declaration-block-beginning
move declarations at the block beginning (ANSI C)
2017-02-28 16:41:05 +01:00
Karel Miko
efbd73fbc8 move declarations at the block beginning (ANSI C) 2017-02-28 16:11:42 +01:00
karel-m
6596746c5d Merge pull request #150 from libtom/pr/conversion-related-troubles
conversion related troubles (int, size_t, ptrdiff_t ..)
2017-02-28 11:38:32 +01:00
Karel Miko
88412a9fc2 conversion related troubles (int, size_t, ptrdiff_t ..) 2017-02-28 11:30:19 +01:00
karel-m
8141ca617a Merge pull request #106 from libtom/fix/106
_base64_decode_internal not compliant with RFC4648
2017-02-28 01:28:44 +01:00
Steffen Jaeckel
abf0a18290 add some testcases 2017-02-28 01:27:07 +01:00
Steffen Jaeckel
eee936d752 add base64url_strict_encode() 2017-02-28 01:27:06 +01:00
Karel Miko
006c601efb no trailing = for base64url 2017-02-28 01:27:05 +01:00
Karel Miko
ff3a03a1d0 tuning base64 decoding implementation 2017-02-28 01:27:04 +01:00
Steffen Jaeckel
c1dd1cbe30 re-work strict/relaxed base64 decoding implementation
Instead of one API function with an option parameter, provide two API
functions.
Instead of defaulting to strict decoding, default to relaxed decoding.
2017-02-28 01:27:03 +01:00
Steffen Jaeckel
53359ccfc6 fix failing test 2017-02-28 01:27:02 +01:00
Steffen Jaeckel
bc16c149fc fix base64[url] strict/relaxed decode 2017-02-28 01:27:01 +01:00
Steffen Jaeckel
063bac396d add LTC_BASE64_STRICT to crypt_build_settings and crypt_constants 2017-02-28 01:27:00 +01:00
Steffen Jaeckel
1c0edfdead add/fix tests
add explicit strict&loose base64-decode tests
2017-02-28 01:26:58 +01:00
Steffen Jaeckel
b10f9502f8 add RFC4648 base64 decoding compliance 2017-02-28 01:26:57 +01:00
karel-m
30382d0e31 Merge pull request #144 from libtom/fix/coverity-dsa_import-double-free
fix coverity finding: dsa_import double free
2017-02-28 01:17:18 +01:00
Karel Miko
faa18e71c8 tuning indentation 2017-02-28 00:51:25 +01:00
Karel Miko
1e260eeaae fir coverity finding: dsa_import double free 2017-02-28 00:51:25 +01:00
Karel Miko
6499c70492 Merge branch 'mattkelly-fix-clang-cast-align-warnings' into develop 2017-02-27 18:13:44 +01:00
Steffen Jaeckel
ce1043c55d ignore warnings of clang created by my stdlib 2017-02-27 18:12:22 +01:00
Matt Kelly
e187f4cbf4 Fix all warnings from -Wcast-align 2017-02-26 10:12:16 -05:00
karel-m
d777f9d1dc Merge pull request #145 from libtom/fix/coverity-cbc_decrypt-out-of-bounds-read
fix coverity finding: cbc_decrypt out-of-bound read
2017-02-25 20:44:47 +01:00
Karel Miko
7246ab50da fix coverity finding: cbc_decrypt out-of-bound read 2017-02-25 19:53:52 +01:00
karel-m
7c2cc079ec Merge pull request #146 from libtom/fix/85-part3
Fix for #85 (part3)
2017-02-25 13:23:03 +01:00
Francois Perrad
4349993ad3 Suspicious use of & (part 2) 2017-02-25 13:21:34 +01:00
Karel Miko
824f3af98c check-source.pl cosmetics 2017-02-24 20:57:47 +01:00
Karel Miko
c911427cf2 check-source.pl script for checking whitespace related troubles 2017-02-24 20:51:31 +01:00
Karel Miko
953080bcea more trailing spaces + tabs outside of "src" dir 2017-02-24 20:50:37 +01:00
Karel Miko
477d621224 more trailing spaces + tabs in src 2017-02-24 20:31:48 +01:00
karel-m
f60e045034 Merge pull request #143 from libtom/fix/85-part2
Fix/85 part2
2017-02-24 19:04:46 +01:00