Go to file
Patrick Pelletier ad566e1b00 Use __builtin_bswap64 if it is available
This produces slightly better performance than the inline assembly,
and has the added benefit that it should be portable to other systems
that use gcc, not just x86-64.

Here are the results on my "AMD Athlon(tm) 7450 Dual-Core Processor"
with "gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3":

with portable 64H macros:

camellia            : Schedule at   1659
camellia            [ 23]: Encrypt at   431, Decrypt at   434
whirlpool           : Process at    55

with inline assembly (with "memory clobber" for correctness):

camellia            : Schedule at   1380
camellia            [ 23]: Encrypt at   406, Decrypt at   403
whirlpool           : Process at    50

with __builtin_bswap64:

camellia            : Schedule at   1352
camellia            [ 23]: Encrypt at   396, Decrypt at   391
whirlpool           : Process at    46
2012-11-18 15:20:12 +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 Use __builtin_bswap64 if it is available 2012-11-18 15:20:12 +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