Commit Graph

621 Commits

Author SHA1 Message Date
Karel Miko
421a241ccf travis script - check wheather makefiles are updated 2017-03-09 20:19:46 +01:00
karel-m
14a7ed4609 Merge pull request #156 from libtom/improve/tests
Improve tests
2017-03-09 20:10:50 +01:00
Steffen Jaeckel
ea1228d3ab I like aligned output :)
...and I dislike c&p'ed code
2017-03-09 20:09:55 +01:00
Steffen Jaeckel
90da7e71e1 There's no need running the same test multiple times
If there would be some random input okay, but like that it's just running
the same functionality over and over again.
2017-03-09 20:09:55 +01:00
karel-m
4ef8c27031 Merge pull request #163 from libtom/pr/xts_test-move-declaration
move declaration at block beginning (+msvc 2008 tuning)
2017-03-09 20:08:45 +01:00
Karel Miko
ac3f55fd92 there is no snprintf before Visual C++ 2015 2017-03-09 20:07:39 +01:00
Karel Miko
52eaabefa9 msvc 2008 does not like { } initialization 2017-03-06 19:53:04 +01:00
Karel Miko
fb749199db moving declaration to block beginning 2017-03-06 19:51:46 +01:00
Karel Miko
081ee45712 move declaration at block beginning 2017-03-06 10:43:39 +01:00
karel-m
456908eb90 Merge pull request #159 from libtom/fix/159
Travis-CI + the latest libtommath
2017-03-02 19:45:13 +01:00
Steffen Jaeckel
2277b420f0 also install binutils from debian-sid 2017-03-02 12:18:47 +01:00
Steffen Jaeckel
f94ee4a5a7 location of new libtommath.a has changed 2017-03-02 11:41:01 +01:00
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