Commit Graph

146 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
9d4094b8e9 rename x86_prof.c to timing_test.c 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
f7d3c2bfa1 merge testprof/test_driver.c to testprof/common.c 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
0a23c6d32e also check for cipher descriptors 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
1de3f2a1f6 correctly NOP
there's still mac_test() which doesn't NOP correctly but who cares anyway?
2017-05-30 11:20:18 +02:00
Karel Miko
2c97498554 wipe out testprof/makefile* 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
93067e189a fix testprof/makefile.shared 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
786853cb5c move #if defined(LTC_BASE64) 2017-05-11 17:42:43 +02:00
Karel Miko
ef6223f013 fix misleading-indentation warnings (mingw + gcc 7.1 + -Wall -Wextra) 2017-05-11 17:42:43 +02:00
Karel Miko
9d2b352867 fix ulong64 related format errors 2017-05-11 17:42:43 +02:00
Karel Miko
af4f6b374d better warning fix in der_tests 2017-05-11 17:42:43 +02:00
Karel Miko
9ba9677d94 x86_prof - spd1, spd2, avg are now ulong64 2017-05-11 17:42:43 +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
Karel Miko
f00f857224 tests for rsa_sign|verify with LTC_PKCS_1_V1_5_NA1 2017-05-01 23:17:32 +02:00
Karel Miko
6417f96ea9 fortuna - import does not fail when input data are larger than export_size 2017-04-29 14:12:36 +02:00
Karel Miko
784a009efe increase coverage 2017-04-28 19:24:58 +02:00
Karel Miko
28927be1dd typo LTC_CHACHA_PRNG / LTC_CHACHA20_PRNG 2017-04-28 19:24:58 +02:00
Karel Miko
0df0c9b12c LTC_CHACHA_STREAM >> LTC_CHACHA 2017-04-28 19:24:58 +02:00
Karel Miko
dd35e86c60 renaming rc4+sober128 stream API to *_stream_* 2017-04-28 19:24:58 +02:00
Karel Miko
fe14c8bfaf Move RC4 + SOBER128 to src/stream/ 2017-04-28 19:24:58 +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
1c68bf9a74 update file_test 2017-04-23 23:27:54 +02:00
Karel Miko
0d585958c1 BLAKE2 based MACs 2017-04-23 23:27:54 +02:00
Karel Miko
dae70f9ba4 update testprof/makefile* 2017-04-21 16:12:41 +02:00
Karel Miko
d1ae2889ae add file_test() 2017-04-21 16:12:18 +02:00
Kelvin Sherlock
7c5fef9b71 add blake2b hash 2017-04-08 15:40:56 -04:00
Kelvin Sherlock
647b53d880 add blake2s to various places. 2017-04-07 20:50:28 -04:00
Karel Miko
ce37498ec6 chacha_prng_desc > chacha20_prng_desc 2017-04-03 19:52:03 +02:00
Karel Miko
ff6abc776c RFC 7539 - ChaCha20 and Poly1305 + chacha based PRNG 2017-04-02 18:13:45 +02:00
Steffen Jaeckel
78a32430d4 more tests 2017-03-31 18:24:42 +02:00
Steffen Jaeckel
2bd517307c add GeneralizedTime DER en-/decode 2017-03-30 22:29:02 +02:00
Steffen Jaeckel
f7cb199066 add test proposed by @karel-m 2017-03-30 22:29:02 +02:00
Steffen Jaeckel
ec327b3d86 move x509 processing to rsa_import_x509() 2017-03-30 18:46:05 +02:00
Steffen Jaeckel
019a9e9850 add stinky certificate 2017-03-30 18:46:04 +02:00
Steffen Jaeckel
39b2a8daca add tests for new functionality of der_encode_flexi() and rsa_import() 2017-03-30 18:46:04 +02: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
7bb7bdde1d improving MS Windows builds (msvc) 2017-03-29 08:48:33 +02:00
Steffen Jaeckel
8518b56dbf Revert "fix rotate_test to pass rotate by zero with LTC_NO_ASM"
This reverts commit 82080f0b87.
2017-03-28 21:18:22 +02:00
Karel Miko
82080f0b87 fix rotate_test to pass rotate by zero with LTC_NO_ASM 2017-03-27 22:03:33 +02:00
Karel Miko
e5aa2bd453 added rotate_test 2017-03-27 19:32:05 +02:00
Karel Miko
b465881b58 fix "declaration-after-statement" warnings (tests only) 2017-03-24 10:17:02 +01:00