Commit Graph

155 Commits

Author SHA1 Message Date
Steffen Jaeckel
07ffa0f1a2 remove tomcrypt_prof test-only library 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
201681ee3b merge testprof/timing_test.c into demos/timing.c 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
8ef805817c rename time_cipher[2-4]? appropriately 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
abe8d26246 move epoch_usec() to test.c 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
1c4c84e7f9 fix tv_gen 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
9b8fff6260 add testprof/common.c
so we can remove all the duplicate registration implementations
...and we can put some other shared stuff in there as well
2017-06-08 22:20:44 +02:00
Steffen Jaeckel
db5438ca55 don't build openssl-enc for tests 2017-06-08 22:19:48 +02:00
Steffen Jaeckel
08a461b39c also build openssl-enc 2017-06-08 21:32:10 +02:00
Steffen Jaeckel
85dc39483f rename crypt to ltcrypt
a binary called crypt already exists and creates a name-clash as we won't
implement the entire CLI even if this tool implements similar functionality
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
7ac857686d add git version as compile flag 2017-05-11 23:04:37 +02:00
Karel Miko
43e46a2efc fix clang static analyzer warnings/errors - see #217 2017-05-11 20:37:06 +02:00
Karel Miko
a69e55ba54 tuning win warnings fixes 2017-05-11 17:42:43 +02:00
Karel Miko
e2cf11da25 fix windows warnings - #212 and #213 2017-05-11 17:42:43 +02:00
Steffen Jaeckel
85c2186ae6 better output on stderr 2017-05-03 18:10:46 +02:00
Steffen Jaeckel
e9923129c8 fix LTC_EASY compilation 2017-05-03 18:10:46 +02:00
Steffen Jaeckel
9893566ae9 add shasum compatibility for '-a' option 2017-05-03 18:10:45 +02:00
Steffen Jaeckel
ea7115dc65 implement file checking 2017-05-03 18:10:45 +02:00
Steffen Jaeckel
d02531d4d2 improve hashsum a bit 2017-05-03 18:10:45 +02:00
Karel Miko
3ea8a00ecd new multi_test 2017-04-23 23:29:10 +02:00
Karel Miko
08ea7fc0f4 demos/multi.c -> testprof/multi_test.c 2017-04-23 23:27:54 +02:00
Karel Miko
d587b380e6 updating demos/multi.c 2017-04-23 23:27:54 +02:00
Steffen Jaeckel
943c7a7cfc use hash_filehandle() to read from stdin 2017-04-23 22:37:32 +02:00
Steffen Jaeckel
a6b8e52c43 make output equal to output of sha1sum etc. 2017-04-23 17:32:21 +02:00
Karel Miko
6d404afc97 helper.pl --check-hashes + related fixes 2017-04-21 21:20:31 +02:00
Karel Miko
d1ae2889ae add file_test() 2017-04-21 16:12:18 +02:00
Kelvin Sherlock
0109e3ca78 update tv_gen.c 2017-04-19 17:03:34 -04:00
Kelvin Sherlock
4905232eda more tests. 2017-04-19 16:50:34 -04:00
Karel Miko
2a2968ae92 demos/test facelift 2017-03-30 16:56:10 +02:00
Karel Miko
c6a0362c88 SHA3 2017-03-29 13:44:04 +02:00
Karel Miko
e5aa2bd453 added rotate_test 2017-03-27 19:32:05 +02:00
Steffen Jaeckel
862a02767d fix constants and sizes demo 2017-03-26 21:38:02 +02:00
Steffen Jaeckel
7885c91af3 print math provider when running tests 2017-03-26 15:46:41 +02:00
Karel Miko
54a26525dc avoid C++ style comments 2017-03-15 15:22:06 +01:00
Karel Miko
3396513e81 improving demos/openssl-enc.c 2017-03-15 08:59:49 +01:00
BJ Black
c7d6c3ad28 Add OpenSSL-compatible PKCS#5v1 KDF, demo of OpenSSL-compatible aes-256-cbc command. 2017-03-14 18:22:46 +01:00
Steffen Jaeckel
ea1228d3ab I like aligned output :)
...and I dislike c&p'ed code
2017-03-09 20:09:55 +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
Karel Miko
953080bcea more trailing spaces + tabs outside of "src" dir 2017-02-24 20:50:37 +01:00
Steffen Jaeckel
d1eeecb137 fix some compiler warnings 2016-01-23 18:59:44 +01:00
Steffen Jaeckel
4572357e87 make easily built demos in a template 2016-01-23 18:59:30 +01:00
Steffen Jaeckel
7c9450084f fix some compile errors 2016-01-23 18:42:50 +01:00
Steffen Jaeckel
c1e81ad469 minor changes
print MP_DIGIT_BIT when running test
der_test: improve error output of 'short integer' test
2014-09-30 13:26:18 +02:00
Steffen Jaeckel
92274aafb5 add testprof/pkcs_1_eme_test 2014-08-28 13:30:26 +02:00
Steffen Jaeckel
7302a7cfcb add testprof/pkcs_1_emsa_test 2014-08-28 13:30:25 +02:00
Steffen Jaeckel
c99a147d4a add testprof/pkcs_1_oaep_test 2014-08-28 13:30:25 +02:00
Steffen Jaeckel
fe1b6eced7 add testprof/pkcs_1_pss_test 2014-08-28 13:30:25 +02:00
Steffen Jaeckel
746fd583c9 update demos according to changed naming 2014-07-15 15:28:29 +02:00
Steffen Jaeckel
e628fb9203 clean up/trim trailing spaces 2014-07-15 13:58:48 +02:00
Larry Bugbee
46b6e36ea6 to know if LTC compiled big/little endian, 32/64-bit word 2014-07-14 15:47:20 +02:00
Larry Bugbee
f07234fd93 removed redundant include 2014-07-14 15:47:20 +02:00
Larry Bugbee
a543e0caa6 changed to keep it simple 2014-07-14 15:47:20 +02:00
Larry Bugbee
3f9144c9a7 added signatures to header file 2014-07-14 15:47:20 +02:00
Larry Bugbee
d99b970a8b added a Python demo 2014-07-14 15:47:20 +02:00
Larry Bugbee
1b29ce896f include compiler defines and other minor refinements 2014-07-14 15:47:20 +02:00
Steffen Jaeckel
4929e4e989 fix warnings in tests 2014-05-01 18:01:13 +02:00
Steffen Jaeckel
b895f13484 minor changes/clean-up sources 2014-04-30 01:10:22 +02:00
Steffen Jaeckel
68bfdd0fac move mac_test() before modes_test()
since lrw uses gcm it makes sense to fail already at gcm
2014-04-03 15:08:17 +02:00
Steffen Jaeckel
9e88fcb9b1 remove unused variable in demos/encrypt.c 2013-03-22 15:15:06 +02:00
Steffen Jaeckel
1050ecea4a demos/encrypt.c: add possibility to use parameter -t for testing a cipher 2013-03-22 15:15:03 +02:00
Steffen Jaeckel
f107e6e465 demos: trim trailing spaces 2013-03-20 18:34:00 +02:00
karel-m
abab7089a3 OCBv3 according http://tools.ietf.org/html/draft-krovetz-ocb-03 2013-03-15 13:30:29 +02:00
Steffen Jaeckel
e81ac102bd add misc_test() 2013-03-15 11:16:17 +01:00
Patrick Pelletier
5708adb6c1 Add Camellia to the test vectors. 2012-11-18 15:24:12 +01:00
Steffen Jaeckel
6fecec107d rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers 2011-01-18 20:06:03 +01:00
Steffen Jaeckel
5039e6520f fixed tests and testvectors 2011-01-18 19:42:38 +01:00
Tom St Denis
bbc52b9e1b added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
Tom St Denis
2de2976d25 added libtomcrypt-1.15 2010-06-16 12:39:06 +02:00
Tom St Denis
479cc9c261 added libtomcrypt-1.14 2010-06-16 12:39:03 +02:00
Tom St Denis
1eed98f629 added libtomcrypt-1.13 2010-06-16 12:39:00 +02:00
Tom St Denis
2945dea3e2 added libtomcrypt-1.12 2010-06-16 12:38:57 +02:00
Tom St Denis
64d7ebe166 added libtomcrypt-1.11 2010-06-16 12:38:54 +02:00
Tom St Denis
99b6d03203 added libtomcrypt-1.10 2010-06-16 12:38:51 +02:00
Tom St Denis
4a1a5796de added libtomcrypt-1.07 2010-06-16 12:38:44 +02:00
Tom St Denis
72412f6dac added libtomcrypt-1.06 2010-06-16 12:38:41 +02:00
Tom St Denis
9264e34ffb added libtomcrypt-1.05 2010-06-16 12:38:39 +02:00
Tom St Denis
3964a6523a added libtomcrypt-1.03 2010-06-16 12:38:34 +02:00
Tom St Denis
6ac9952498 added libtomcrypt-1.01 2010-06-16 12:38:29 +02:00
Tom St Denis
bfc2f5b078 added libtomcrypt-1.00 2010-06-16 12:38:26 +02:00
Tom St Denis
1c1822d510 added libtomcrypt-0.99 2010-06-16 12:38:24 +02:00
Tom St Denis
69f289d6dc added libtomcrypt-0.98 2010-06-16 12:38:22 +02:00
Tom St Denis
a21f63bbd8 added libtomcrypt-0.97b 2010-06-16 12:38:20 +02:00
Tom St Denis
e9c1c530b4 added libtomcrypt-0.97a 2010-06-16 12:38:17 +02:00
Tom St Denis
1a1141627d added libtomcrypt-0.97 2010-06-16 12:38:16 +02:00
Tom St Denis
3fe312ccef added libtomcrypt-0.96 2010-06-16 12:38:13 +02:00
Tom St Denis
40c5578ac3 added libtomcrypt-0.95 2010-06-16 12:38:11 +02:00
Tom St Denis
1f8b8bda6f added libtomcrypt-0.94 2010-06-16 12:38:09 +02:00
Tom St Denis
53f7f3badd added libtomcrypt-0.93 2010-06-16 12:38:07 +02:00
Tom St Denis
033cec5f75 added libtomcrypt-0.92 2010-06-16 12:38:05 +02:00
Tom St Denis
55d745af4f added libtomcrypt-0.91 2010-06-16 12:38:04 +02:00
Tom St Denis
16100c38eb added libtomcrypt-0.90 2010-06-16 12:38:03 +02:00
Tom St Denis
bd479d2bc1 added libtomcrypt-0.88 2010-06-16 12:38:01 +02:00
Tom St Denis
e309942b29 added libtomcrypt-0.87 2010-06-16 12:38:00 +02:00
Tom St Denis
f9afcba638 added libtomcrypt-0.86 2010-06-16 12:37:59 +02:00
Tom St Denis
f5331baa9f added libtomcrypt-0.85 2010-06-16 12:37:58 +02:00
Tom St Denis
d6071c6267 added libtomcrypt-0.84 2010-06-16 12:37:57 +02:00
Tom St Denis
90a48a5bec added libtomcrypt-0.83 2010-06-16 12:37:56 +02:00
Tom St Denis
7d21325daa added libtomcrypt-0.82 2010-06-16 12:37:55 +02:00
Tom St Denis
0f999a4e9e added libtomcrypt-0.81 2010-06-16 12:37:54 +02:00
Tom St Denis
b8b6e1ad58 added libtomcrypt-0.80 2010-06-16 12:37:53 +02:00