Go to file
Patrick Pelletier cecbbb88fc When a test fails, print the algorithm that it failed on.
As near as I can tell, LibTomCrypt doesn't provide any way to tell
which cipher failed when it reports a cipher test failure.  For
example, I was getting:

Algorithm failed test vectors. (5)
cipher_hash_test.c:14:cipher_descriptor[x].test()

But there's no way to tell what value x has, and even if there was, it
would take a bit of digging to determine which algorithm that
corresponds to.  So, I added a variant of the DO() macro, DOX(), which
takes an additional string argument which is displayed on failure.  So
now I get:

Algorithm failed test vectors. (5) - camellia
cipher_hash_test.c:14:cipher_descriptor[x].test()
2012-11-18 15:20:10 +01:00
demos rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers 2011-01-18 20:06:03 +01:00
doc added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
notes fixed tests and testvectors 2011-01-18 19:42:38 +01:00
src missing a comma 2012-11-18 15:20:08 +01:00
testprof When a test fails, print the algorithm that it failed on. 2012-11-18 15:20:10 +01:00
.gitignore updated gitignore 2011-03-21 22:59:59 +01:00
build.sh make build.sh less verbose when test fails 2011-03-21 21:10:23 +01:00
changes added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
crypt.lof added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
crypt.tex rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers 2011-01-18 20:06:03 +01:00
Doxyfile added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
filter.pl added libtomcrypt-1.09 2010-06-16 12:38:49 +02:00
fixupind.pl added libtomcrypt-1.15 2010-06-16 12:39:06 +02:00
genlist.sh added libtomcrypt-1.06 2010-06-16 12:38:41 +02:00
libtomcrypt_VS2005.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2005.vcproj Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2008.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2008.vcproj updated gitignore and VS2008 project file 2011-01-24 10:41:30 +01:00
libtomcrypt.dsp added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
LICENSE after multiple objections of libtom users [1], we decided to change licensing 2011-01-19 10:18:15 +01:00
makefile don't delete doc/crypt.pdf in "make clean" 2012-11-18 15:20:09 +01:00
makefile.icc import of libtomcrypt 2010-06-16 19:58:20 +02:00
makefile.msvc import of libtomcrypt 2010-06-16 19:58:20 +02:00
makefile.shared import of libtomcrypt 2010-06-16 19:58:20 +02:00
makefile.unix import of libtomcrypt 2010-06-16 19:58:20 +02:00
mess.sh added libtomcrypt-1.12 2010-06-16 12:38:57 +02:00
parsenames.pl added libtomcrypt-1.03 2010-06-16 12:38:34 +02:00
README added libtomcrypt-1.16 2010-06-16 12:39:09 +02:00
run.sh added libtomcrypt-1.06 2010-06-16 12:38:41 +02:00
testbuild.sh added libtomcrypt-1.06 2010-06-16 12:38:41 +02:00
testme.sh testme.sh: added parameter checking 2011-05-20 09:41:57 +02:00
TODO added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
updatemakes.sh added libtomcrypt-1.16 2010-06-16 12:39:09 +02:00

See doc/crypt.pdf