Commit Graph

411 Commits (e6e33313a420e9a51c0bdb4b05f8339a1b8d50e3)

Author SHA1 Message Date
weidai 32b9e6d33a patch from Andrew Pitonyak to return factory names 2007-08-13 23:45:47 +00:00
weidai 4d86e76a07 fix linker error when compiling with MSVC 2003 and using DLL form of runtime library 2007-08-02 01:13:52 +00:00
weidai 1bbadb482f fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack 2007-08-02 01:11:25 +00:00
weidai 3347bc868e add missing virtual destructors 2007-06-01 17:29:27 +00:00
weidai 16793e4fee fix compile for VC6 without processor pack, and GCC 4 on MINGW 2007-06-01 17:28:31 +00:00
weidai 53d44acb95 prepare for release 2007-05-26 03:37:30 +00:00
weidai 45fde71573 fix bug on 32-bit big-endian machines 2007-05-24 20:24:30 +00:00
weidai 7e97c93b77 update manual 2007-05-05 20:35:31 +00:00
weidai 5796330c0f prepared for release 2007-05-05 20:35:17 +00:00
weidai 6f2561cc25 cleanup 2007-05-05 20:18:52 +00:00
weidai 8859a7649f revert to int return value for Add and Sub 2007-05-05 19:37:51 +00:00
weidai ebdeea60ea fix x64 options and warnings 2007-05-05 19:03:38 +00:00
weidai e6b1d2678f fix VC 6 compile 2007-05-05 19:03:05 +00:00
weidai 78efd8be1a fix compile on Turbo C++ 2006 2007-05-05 18:29:44 +00:00
weidai e90cdcf91f update files and options 2007-05-05 15:29:40 +00:00
weidai a8e4cd4870 optimize for speed 2007-05-05 15:27:34 +00:00
weidai 709ff01b7a optimize ECB/CBC modes 2007-05-05 15:26:05 +00:00
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