Commit Graph

444 Commits (153af5e0d0b78554a1d5bac89df365da80e902b2)

Author SHA1 Message Date
weidai 6c8f419e44 work around GCC bug for x64 2007-05-05 15:25:12 +00:00
weidai 9fee472e3f fix compile with ICC for ia64 2007-05-05 04:12:36 +00:00
weidai 9f91681687 don't use -msse2 for GCC 3.3 2007-05-05 02:57:27 +00:00
weidai 3f9ce30e9c fix compile with Sun CC 2007-05-05 02:15:11 +00:00
weidai 9b1ded8cf9 add -Wa,--divide for Solaris 2007-05-05 01:21:44 +00:00
weidai 23d8ca3247 add debug printout 2007-05-05 01:03:16 +00:00
weidai 81b8eb68f1 fix bug in UnalignedPutWordNonTemplate 2007-05-05 01:00:52 +00:00
weidai 00d21e4477 fix bug in assembly 2007-05-04 23:18:04 +00:00
weidai cf5222e270 VMAC draft-krovetz-vmac-01 2007-05-04 21:41:38 +00:00
weidai fb3df8032f fix compile on Mac OS X 2007-05-04 20:46:32 +00:00
weidai 9d4fc742f9 fix warning with Intel compiler 2007-05-04 19:56:16 +00:00
weidai 418b8523be remove extraneous -D__pic__ 2007-05-04 19:55:34 +00:00
weidai 3ee0cff164 use byteswap.h only on Linux 2007-05-04 19:47:37 +00:00
weidai 19fda68b23 fix DLL compile 2007-05-04 19:30:10 +00:00
weidai 7b123bab1e revert -ffunction-sections -fdata-sections 2007-05-04 19:19:52 +00:00
weidai dd9bb7d4db fix g_cacheLineSize for Pentium 3 2007-05-04 19:19:01 +00:00
weidai 75ec0a02c3 fix compile 2007-05-04 16:13:42 +00:00
weidai 0bceed6129 fix warning 2007-05-04 16:00:58 +00:00
weidai 8587edab57 use Weak1 namespace 2007-05-04 15:38:42 +00:00
weidai b3cf49ee11 add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interface 2007-05-04 15:38:32 +00:00
weidai bca3cf58cf increase buffer sizes 2007-05-04 15:38:12 +00:00
weidai 77ed15f56d reduce risk of reusing random numbers after VM state rollback 2007-05-04 15:37:46 +00:00
weidai 4c29106c5a fix compile 2007-05-04 15:36:15 +00:00
weidai 3f3851cd01 remove extraneous function 2007-05-04 15:35:38 +00:00
weidai b207128c54 speed up xorbuf 2007-05-04 15:33:17 +00:00
weidai ec2dfa17ca change PutBlock to default to non-aligned access 2007-05-04 15:32:55 +00:00
weidai f0512e270d change default FIPS RNG to use AES instead of DES_EDE 2007-05-04 15:31:46 +00:00
weidai 233678b235 use Weak1 namespace 2007-05-04 15:25:16 +00:00
weidai 0991793bba add word128 2007-05-04 15:25:08 +00:00
weidai 65920f7dc4 fix compile for x64, DLL and VC 6 2007-05-04 15:24:09 +00:00
weidai 546084d1a9 enable -O2 and -march=native -mtune=native 2007-05-04 15:12:23 +00:00
weidai 6abe3715d8 use Weak1 namespace 2007-05-04 15:10:50 +00:00
weidai 67ad23f902 add/remove files 2007-05-04 15:08:52 +00:00
weidai bff8839b8a reduce risk of random number reuse after VM rollback 2007-05-04 15:04:58 +00:00
weidai f557378ebb update to draft-01 2007-05-04 15:03:07 +00:00
weidai 126375d805 move ARC4 into Weak namespace 2007-04-16 21:27:41 +00:00
weidai 8732c61173 fix compile on Sun CC 2007-04-16 05:40:37 +00:00
weidai 26028de155 fix compile with Intel compiler 2007-04-16 02:51:59 +00:00
weidai 95a4cd2a30 CPU feature detection and assembly helpers 2007-04-16 00:45:50 +00:00
weidai a7ef71e288 MASM code for x64 2007-04-16 00:45:21 +00:00
weidai b192ebced8 IV_REQUIREMENT changes 2007-04-16 00:43:17 +00:00
weidai d09b483574 clarify comments 2007-04-16 00:41:11 +00:00
weidai df229635b4 add 64-bit mangled names of new and delete 2007-04-16 00:40:48 +00:00
weidai 0b452062f3 Test: Encode now tests decryption also 2007-04-16 00:39:56 +00:00
weidai 7e6c9f9c5b changes to support optimizations 2007-04-16 00:39:09 +00:00
weidai 345f7a500f fix bug decoding optional parameters 2007-04-16 00:38:29 +00:00
weidai fe0ada7b9d remove HAVAL, MD5MAC, XMACC. add Sosemanuk 2007-04-16 00:37:44 +00:00
weidai 5792f7bc26 move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak' 2007-04-16 00:36:51 +00:00
weidai 80620f8f32 move sbox macros to serpentp.h for Sosemanuk 2007-04-16 00:35:40 +00:00
weidai e86485b4ce reduce memory usage. move sbox macros to serpentp.h 2007-04-16 00:35:10 +00:00
weidai 38a51b063c rename STRUCTURED_IV to UNIQUE_IV. assert correct cipher direction 2007-04-16 00:34:13 +00:00
weidai 5c5cf93118 optimizations 2007-04-16 00:33:09 +00:00
weidai 4e82626125 handle new FIPS test vector format 2007-04-16 00:32:27 +00:00
weidai 20bd012ae1 removed UnalignedPutWord 2007-04-16 00:31:22 +00:00
weidai f5c8bb0bb9 update version number 2007-04-16 00:30:54 +00:00
weidai 64c7c92ad5 rename STRUCTURED_IV to UNIQUE_IV. Sun CC workaround 2007-04-16 00:29:47 +00:00
weidai b3923860e2 add DigestSize and L1KeyLength 2007-04-16 00:26:40 +00:00
weidai da5654da24 ICC workaround 2007-04-16 00:26:05 +00:00
weidai 1a9f4a9a6b changed hash functions for m command 2007-04-16 00:25:13 +00:00
weidai 556438aa94 reorganized aligned allocator 2007-04-16 00:22:35 +00:00
weidai 0e76000843 optimizations 2007-04-16 00:21:07 +00:00
weidai f541ff5bfa removed UnalignedPutWord 2007-04-16 00:20:57 +00:00
weidai d170f0208b MMX/SSE2 optimizations 2007-04-16 00:18:32 +00:00
weidai 6e0a7f4499 fix compile with ICC 2007-04-16 00:16:32 +00:00
weidai c6cd895f13 fix missing function 2007-04-16 00:15:34 +00:00
weidai d97ecc7d50 fix comment typo 2007-04-16 00:13:46 +00:00
weidai 5cb25be9e9 move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak' 2007-04-16 00:13:32 +00:00
weidai 8da842b509 OpenMP 2007-04-16 00:13:05 +00:00
weidai 4dc7c2643c optimizations 2007-04-16 00:12:03 +00:00
weidai 7c1e7083ce move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak' 2007-04-15 23:46:59 +00:00
weidai 98068b72a4 remove HAVAL, MD5-MAC, XMAC 2007-04-15 23:45:00 +00:00
weidai de12b55776 MMX/SSE2 optimizations 2007-04-15 23:44:44 +00:00
weidai 4ea57bf7e7 benchmark key and IV setup. remove low security benchmarks 2007-04-15 23:42:58 +00:00
weidai 7d0f814439 remove HAVAL, MD5-MAC, XMAC 2007-04-15 23:01:58 +00:00
weidai 125a482d80 MMX/SSE2 optimizations 2007-04-15 23:00:27 +00:00
weidai 6d2f60a710 optimized Camellia and added defense against timing attacks 2007-04-15 22:59:58 +00:00
weidai 01baf45f49 enabled optimization flags by default in GNUmakefile 2007-04-15 22:59:29 +00:00
weidai 3c0014733d move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak' 2007-04-15 22:59:12 +00:00
weidai e2aeed2e2d added blinding and error checking for RW private key operation 2007-04-15 22:58:24 +00:00
weidai e9e7fbcfa6 SSE2 optimizations 2007-04-15 22:54:31 +00:00
weidai afa1186e96 add VMAC draft-krovetz-vmac-00 2007-04-15 22:53:41 +00:00
weidai cd067c5899 add Sosemanuk 2007-04-15 22:52:19 +00:00
weidai f5518b6208 new test vectors. 'Test: Encrypt' now tests decryption also 2007-04-15 22:51:12 +00:00
weidai c076e168a7 fix threading bug 2007-02-03 13:29:09 +00:00
weidai 41c1fc1b4c add missing file for Borland C++ 2006-12-25 08:17:00 +00:00
weidai 4da9574555 fix compile on MSVC2002 and MSVC6 without Processor Pack 2006-12-25 08:10:19 +00:00
weidai 2b161d2c75 adding missing BlockSize() 2006-12-25 08:03:48 +00:00
weidai 975993f2a8 adding missing AlgorithmName() 2006-12-25 08:03:32 +00:00
weidai 179aec1135 update copyright year 2006-12-22 15:08:13 +00:00
weidai b9f4195536 prepare for release 2006-12-22 15:05:38 +00:00
weidai e67ece2ccd fix compile for MSVC .NET 2002 2006-12-22 15:03:42 +00:00
weidai cd395e9fe8 fix compile for MSVC .NET 2003 2006-12-22 08:44:49 +00:00
weidai ff6d4e886b fix SunCC compile 2006-12-21 18:02:23 +00:00
weidai 0f48c0264f fix for DLL-import configuration 2006-12-21 01:35:12 +00:00
weidai 98f06a65ed fix compile with Sun CC 64-bit 2006-12-20 15:20:02 +00:00
weidai 237daf1acb update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai 0b26f65853 add V (version) option 2006-12-18 02:15:14 +00:00
weidai 2651de1b1d remove CodeWarrior project file 2006-12-18 02:14:01 +00:00
weidai 66cc503ae3 remove old code 2006-12-14 12:53:44 +00:00
weidai c42f01fa03 port to Borland C++Builder 2006 2006-12-14 12:03:33 +00:00
weidai e223bee447 port to Borland C++Builder 2006 2006-12-14 11:41:39 +00:00
weidai 317b0524e9 implement AlgorithmName() for hash and signature filters 2006-12-14 10:58:31 +00:00
weidai aa18bf5961 add Borland C++ project files 2006-12-14 09:31:31 +00:00
weidai 0b1b4c1c1d fix BlockingRng for OpenBSD 2006-12-13 04:08:09 +00:00
weidai d4b3702039 use egrep instead of grep 2006-12-12 08:42:19 +00:00
weidai 51772e17f8 remove GCC warning 2006-12-12 07:12:30 +00:00
weidai 3cbfc338d8 fix incorrect type in UncheckedSetKey parameter 2006-12-11 09:18:19 +00:00
weidai 59af948d03 minor style fix 2006-12-11 09:17:56 +00:00
weidai 6d6182f584 update Readme 2006-12-11 09:17:05 +00:00
weidai 5d58d5b678 fix ISX86 2006-12-11 09:15:53 +00:00
weidai 8cd735b66c improved method of disable inlining, fix compile on NetBSD 2006-12-11 09:13:12 +00:00
weidai b93873287b fix compile with MSVC 2005 SP1 beta 2006-12-10 23:50:09 +00:00
weidai e5689a799a port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
weidai 693f813be9 add Salsa20 cipher 2006-12-09 17:18:13 +00:00
weidai 2914091c4a cygwin workaround 2006-12-09 17:17:41 +00:00
weidai 1b2ed7c413 VC2005 workaround 2006-12-09 17:16:05 +00:00
weidai 93be4cae52 updated FIPS algorithm tests 2006-12-09 17:15:38 +00:00
weidai 960f435ca4 fix terminator param being ignored 2006-12-09 17:12:14 +00:00
weidai bc5fe3a1ad add -pthread and allow make install 2006-12-09 17:09:01 +00:00
weidai 047a7623d9 Updated to Whirlpool version 3.0 2006-12-09 17:08:13 +00:00
weidai 2b69db9e85 fix compile on Unix 2006-09-06 09:04:44 +00:00
weidai fe21a2efe4 remove extraneous code 2006-09-06 09:04:22 +00:00
weidai 4056e6b0e4 fix self-test when installed into unicode paths 2006-09-06 05:10:49 +00:00
weidai fe44b7e5a7 remove extraneous file 2006-09-01 11:59:18 +00:00
weidai f9a99794b5 remove compiler warnings 2006-09-01 10:39:56 +00:00
weidai 0e1a01bb72 fix bug in last checkin 2006-08-10 03:11:05 +00:00
weidai b375057b71 change DLL integrity self-test to allow DLL to be Authenticode signed 2006-07-30 17:15:01 +00:00
weidai 72e1c161c8 update version 2006-07-30 15:58:29 +00:00
weidai 8f0b3fcaa3 fix bug in HexDecoder::IsolatedInitialize (thanks to BaiYang) 2006-07-23 10:38:00 +00:00
weidai f8bb7f0431 BlockAlignment() 2006-07-17 14:52:18 +00:00
weidai a002328f90 optimization in CBC_Decryption::ProcessBlocks() 2006-07-17 14:51:20 +00:00
weidai 0e21f6ed39 fix StaticAlgorithmName() for CTR mode 2006-07-17 14:50:43 +00:00
weidai f459aab26f additional AES test vectors 2006-07-17 14:49:51 +00:00
weidai 7c570a82fe AES timing attack countermeasures 2006-07-17 14:48:59 +00:00
weidai 3db8709b3d additional AES test vectors 2006-07-17 14:43:35 +00:00
weidai 3026875e62 fix SocketSender::EofSent 2006-06-09 07:15:06 +00:00
weidai 74ea90f2d6 fix warning 2006-06-09 06:31:46 +00:00
weidai 52bfdb7c97 improve Integer initialization 2006-06-09 06:28:22 +00:00
weidai 57afe0e8f8 add missing #include 2006-06-09 06:27:44 +00:00
weidai e9bab60d18 fix warning on VC6 2006-04-13 03:37:26 +00:00
weidai 146f69f070 merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6 2006-04-06 21:20:25 +00:00
weidai 9884308dad fix Integer::Encode 2006-03-17 00:38:11 +00:00
weidai cafc0c242d fix MSVC 2005 warnings 2006-03-13 13:26:41 +00:00
weidai fad78ea25d add missing Ref() function 2006-03-13 13:26:26 +00:00
weidai 9e7fd48c69 upgrade project files to MSVC 2005 and add x64 platform 2006-01-30 14:00:54 +00:00
weidai 50fc722574 fix TYPE_OF_SOCKLEN_T for Darwin 2006-01-30 13:59:16 +00:00
weidai c072eefd29 remove unneeded warning options 2005-09-05 22:15:40 +00:00
weidai 0b65d2db7a fix inline doc 2005-09-05 22:14:17 +00:00
weidai 37b7681df1 port to GCC 4 2005-09-05 21:43:43 +00:00
weidai 8beea94c0c remove extraneous SCC info 2005-09-05 21:39:50 +00:00