Go to file
Patrick Pelletier cefff85550 Add "memory" as a clobber for bswap inline assembly.
This had been causing Camellia (the only cipher that uses these
macros) to fail when compiling "out-of-the-box" with gcc version
"4.3.3-5ubuntu4".  I think because the compiler had no idea any memory
access was going on in these macros.

Adding "memory" as a clobber solves the problem, but is probably
overkill.  I suspect that if we specify the constraint for y
differently, we could get rid of both "memory" and __volatile__, which
would allow the compiler to optimize much more.

Also, in gcc versions that support it, we should probably use the
bswap builtins instead.
2012-11-18 15:20:11 +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 Add "memory" as a clobber for bswap inline assembly. 2012-11-18 15:20:11 +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