Commit Graph

144 Commits

Author SHA1 Message Date
Steffen Jaeckel b49ce35b2c fix DH timing when compiling with TFM support 2017-08-26 12:05:53 +02:00
Larry Bugbee de6ac748c7 refine comments 2017-08-19 16:29:48 -07:00
Larry Bugbee 3794ecaf94 Update demo_dynamic.py
removed trailing spaces
2017-08-18 20:34:03 -07:00
Larry Bugbee 631de35ee3 Update and rename demo_dynamic.py3 to demo_dynamic.py
this version runs under python2 and python3 so only one version need be distributed
2017-08-17 21:11:59 -07:00
Larry Bugbee ae16210939 Delete demo_dynamic.py 2017-08-17 21:06:50 -07:00
Larry Bugbee 147a406243 Update demo_dynamic.py3
clean comments
2017-08-16 23:50:23 -07:00
Larry Bugbee 5d3e2d1e90 Update demo_dynamic.py
clean comments
2017-08-16 23:49:39 -07:00
Larry Bugbee 6bbb450d40 remove trailing space 2017-08-11 02:17:31 -07:00
Larry Bugbee 8b703c1505 remove traling space for Travis 2017-08-11 02:16:26 -07:00
Larry Bugbee bab115c631 converted demo_dynamic.py to Python3 2017-08-11 01:27:21 -07:00
Larry Bugbee ee55c4e51c minor cleanup and formatting changes 2017-08-11 01:21:59 -07:00
Larry Bugbee 695c3b235d Update demo_dynamic.py
added error strings (with function returning a string type) and a decryption to ChCha.
2017-08-10 16:40:28 -07:00
Steffen Jaeckel 87d876f6ac add comment about usage to demo_dynamic
[skip ci]
2017-08-09 16:06:11 +02:00
Steffen Jaeckel 35925eada5 improve constants demo 2017-08-09 16:06:11 +02:00
Larry Bugbee 9f548c9928 update demo_dynamic.py 2017-08-09 16:06:11 +02:00
Steffen Jaeckel 9f02fde06e improve sizes demo a bit 2017-08-09 16:06:11 +02:00
Steffen Jaeckel c29c9f140d disable DSA4096 timing tests when building for TFM
this fixes #260
2017-08-08 08:47:58 +02:00
Steffen Jaeckel a65cfb8dbe make it possible to 'make all' w/o an MPI provider 2017-08-07 21:11:42 +02:00
Steffen Jaeckel 9139b59699 OCBv3: fix testvector generation 2017-08-07 19:43:09 +02:00
Steffen Jaeckel 41130900d0 fix 1. help-line of openssl-enc
[skip ci]
2017-08-07 17:28:49 +02:00
Karel Miko 6ac1c5fa34 OCBv3: fix demos/timing failures 2017-08-07 07:48:21 +02:00
Steffen Jaeckel d77cf0e248 OCBv3: implement RFC7253 compliance
This fixes #256
2017-08-02 17:45:59 +02:00
Steffen Jaeckel 6b925485a8 make sure to request an element which is always available 2017-07-20 13:34:16 +02:00
Karel Miko 909b4954a9 fix MS Windows/64bit related warnings 2017-07-14 19:59:03 +02:00
Steffen Jaeckel e1fcd3ab04 add hashsum multi-hash option 2017-07-05 14:26:53 +02:00
Steffen Jaeckel a6aef23438 dh_make_key() is now dh_generate_key() 2017-07-04 10:30:39 +02:00
Steffen Jaeckel 3c2e0d6686 dsa_make_key_ex() is now dsa_generate_key() 2017-07-04 10:25:38 +02:00
Steffen Jaeckel dbeaefd65b remove LTC_{DH,DSA}_KEY_INITIALIZER 2017-07-04 10:25:38 +02:00
Steffen Jaeckel cfff656e25 re-factor dsa_make_key() etc. 2017-06-28 14:40:30 +02:00
Steffen Jaeckel 9d6689fc08 re-factor dh_make_key() and variants 2017-06-27 22:00:13 +02:00
Karel Miko 771d67e102 DH facelift part1 2017-06-22 13:19:47 +02:00
Steffen Jaeckel 6fc0a90a1e fix headers & footers in demos & tests 2017-06-20 15:16:11 +02:00
Steffen Jaeckel fe19dad623 replace SVN tags 2017-06-20 15:16:11 +02:00
Karel Miko 2fd5808897 timing - silence valgrind warning (memleak) 2017-06-20 01:33:23 +02:00
Karel Miko e5f25b6553 tests+timing - silence valgrind warning (memleak) 2017-06-19 20:34:08 +02:00
Karel Miko 03437a1bdd timing - silence valgrind warning 2017-06-19 18:51:04 +02:00
Steffen Jaeckel e3329bec26 make it possible to pass a single timing test to run 2017-06-09 18:33:51 +02:00
Steffen Jaeckel e60d2076c5 resurrect DH in timing 2017-06-09 18:33:51 +02:00
Steffen Jaeckel fe0b72ef51 remove dependency of demos to tests/common 2017-06-08 22:20:45 +02:00
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