Commit Graph

609 Commits

Author SHA1 Message Date
Steffen Jaeckel
8c90cba6f6 install libtommath-dev from debian sid 2017-03-02 11:27:39 +01:00
Karel Miko
61ae75a823 sort filenames on perl level during updatemakes.sh 2017-03-01 22:07:28 +01:00
Steffen Jaeckel
1e977e662f fix updatemakes.sh indentation 2017-03-01 17:52:05 +01:00
Steffen Jaeckel
199ff63e5f add '-c' option to updatemakes.sh 2017-03-01 16:00:35 +01:00
Steffen Jaeckel
2df86d65e8 don't execute coverage script for private travis 2017-03-01 15:19:34 +01:00
Steffen Jaeckel
d4cc79011b Merge branch 'pr/crc32-declaration-block-beginning' into develop
This closes #155
2017-03-01 15:03:16 +01:00
Karel Miko
1a1addcefd move declarations at the block beginning (ANSI C) 2017-03-01 15:02:08 +01:00
Steffen Jaeckel
9092470843 fix doxygen warnings 2017-03-01 15:00:41 +01:00
Steffen Jaeckel
3dd0845dec Merge pull request #139 from libtom/fix/139
rand_prime undefined reference when using  CFLAGS="-DLTM_DESC -DLTC_EASY
2017-03-01 14:58:35 +01:00
Steffen Jaeckel
4f120531ab add separate CHECK_SOURCES build target 2017-03-01 14:09:29 +01:00
Karel Miko
631a11cd35 removing "checking white spaces" part from build.sh 2017-03-01 14:00:45 +01:00
Karel Miko
be9c66ab43 tuning build.sh to handle -DLTC_EASY 2017-03-01 13:35:19 +01:00
Karel Miko
856be9cae8 tv_gen needs more #ifdefs 2017-03-01 12:09:50 +01:00
Karel Miko
dde11de781 fixing compile failure in demos for -DLTC_EASY 2017-03-01 11:48:39 +01:00
Steffen Jaeckel
00308d8651 fix base64url related errors when only LTC_BASE64 is defined 2017-03-01 11:37:49 +01:00
Steffen Jaeckel
0b79bbaf5b fix missing symbol rand_prime 2017-03-01 11:37:49 +01:00
Steffen Jaeckel
6cfc27d310 add EASY build to tests 2017-03-01 11:37:49 +01:00
Karel Miko
50aedb099c fixing warning introduced by __WCHAR_MAX__ patch 2017-02-28 23:20:19 +01:00
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