weidai
54ab5bb6ef
fix VC60 compile, project file line-endings, Apple GCC 4.2 compile
2009-03-03 10:18:44 +00:00
weidai
8c6420cfc6
work around GCC Bug 31690
2009-03-03 06:51:34 +00:00
weidai
69b85d0724
tweaks/fixes for 5.6
2009-03-03 03:28:39 +00:00
weidai
8b65297339
fix compile on non-x86
2009-03-02 05:23:21 +00:00
weidai
e30273241d
changes for 5.6:
...
- added AuthenticatedSymmetricCipher interface class and Filter wrappers
- added CCM, GCM (with SSE2 assembly), CMAC, and SEED
- improved AES speed on x86 and x64
- removed WORD64_AVAILABLE; compiler 64-bit int support is now required
2009-03-02 02:39:17 +00:00
weidai
e6e33313a4
port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16
2009-02-13 12:18:26 +00:00
weidai
80c47a4f0c
fix incorrect VMAC computation on message lengths that are >64 mod 128
2009-01-24 02:51:45 +00:00
weidai
68ff6f2062
fix compile with GCC 4.0.1 on MacOS X 64-bit
2008-12-22 06:55:08 +00:00
weidai
506c07943d
fix valgrind errors
2008-11-21 23:33:35 +00:00
weidai
846209b34f
changed mind. remove -fPIC as default, document it as supported
2008-11-21 22:40:16 +00:00
weidai
f4a3184703
add -fPIC to default flags
2008-11-21 05:33:00 +00:00
weidai
320c731500
fix HashFilter bug when putMessage=true (UnFleshed One)
2008-11-21 05:32:06 +00:00
weidai
3c111dd30c
fix compile with -fPIC (reported by Geoff Beier)
2008-11-21 05:30:58 +00:00
weidai
1c52eef818
improve pairwise consistency test (Brian Pence)
2008-11-21 05:30:16 +00:00
weidai
ef2e30950d
fixes for GCC 4.3.2 (reports from Chris Morgan and DiegoT)
2008-11-21 03:05:32 +00:00
weidai
a94cc828ca
fix infinite recursive call in IsRandomAccess (reported by ASBai)
2008-02-02 08:40:27 +00:00
weidai
2658fa5d61
add "test" target
2008-02-02 08:38:21 +00:00
weidai
bbb31ae77b
previous keys were using long private exponents
2007-12-10 00:25:19 +00:00
weidai
50d2f8c23d
change minimum key size to 0
2007-12-05 14:22:18 +00:00
weidai
8046864b01
fix AlgorithmName() for ExternalCipher classes and move SetCipher() into CipherModeBase
2007-12-05 13:50:44 +00:00
weidai
ef6d8d1b00
add workaround for _interlockedbittestandset64 and _interlockedbittestandreset64
2007-12-05 13:49:12 +00:00
weidai
17e758264a
add quotes around $(InputPath) (Laurence Parry)
2007-12-03 19:51:49 +00:00
weidai
67d6a6ee3f
do not align to 16 when not needed
2007-10-26 09:50:49 +00:00
weidai
1fb52640fa
reset m_counter in TruncatedFinal
2007-10-23 17:27:49 +00:00
weidai
c36f8b2c78
improve documentation
2007-10-23 17:27:28 +00:00
weidai
3e8708b5a2
reduce executable size when only hash functions are used
2007-10-02 00:21:52 +00:00
weidai
ea77e7ec68
prepare for release
2007-09-25 07:30:20 +00:00
weidai
f2369784c6
fix missing CRYPTOPP_API
2007-09-25 07:25:47 +00:00
weidai
662b4b9b8b
don't use _rotl64 with ICC
2007-09-25 06:22:24 +00:00
weidai
09927e2a81
fix compile with ICC 10
2007-09-25 04:08:17 +00:00
weidai
a3873f6f34
fix compile with ICC 9.1 on x64
2007-09-24 07:05:29 +00:00
weidai
3557afbb18
fix compile for ICC 10
2007-09-24 05:35:59 +00:00
weidai
4fc646359d
remove -msse2 since we don't use SSE2 intrinsics anymore
2007-09-24 04:16:29 +00:00
weidai
5ec62cd9b7
remove -msse2 since we don't use SSE2 intrinsics anymore
2007-09-24 03:52:17 +00:00
weidai
87b06bf6ce
update CheckMOVCondition() according to http://eprint.iacr.org/2007/343
2007-09-24 02:54:22 +00:00
weidai
a3eb3fe027
remove -msse2 since we don't use SSE2 intrinsics anymore
2007-09-24 01:57:43 +00:00
weidai
694e738078
fix compile with GAS 2.15
2007-09-24 01:19:38 +00:00
weidai
36d0b3885c
remove <locale> (should save code size?)
2007-09-24 00:51:04 +00:00
weidai
da23735ea2
- port x64 assembly code to MASM
...
- improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly
2007-09-24 00:45:59 +00:00
weidai
5a5af8f929
remove branch in assert
2007-09-24 00:45:16 +00:00
weidai
8b8722fe7f
- port x64 assembly code to MASM
...
- improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly
2007-09-24 00:43:57 +00:00
weidai
094c70b60b
fix extraneous SSE2 compiler option
2007-09-24 00:35:06 +00:00
weidai
97c5765b9a
fix compile with fix compile for for STLport 5.1.3 and MSVC 2005
2007-09-15 02:38:57 +00:00
weidai
d4e11267ed
fix compile for for STLport 5.1.3 and MSVC 6 SP5
2007-09-12 02:28:48 +00:00
weidai
8f60cfbff3
fix compile with Borland C++Builder 2007
2007-08-16 22:59:53 +00:00
weidai
8d2931067a
fix warning on MSVC Orcas Beta 2
2007-08-15 23:36:16 +00:00
weidai
03e94daf60
fix compile for QNX
2007-08-15 01:55:01 +00:00
weidai
6106bc42c5
fix gcc compile errors and warnings
2007-08-14 00:55:43 +00:00
weidai
1632073566
fix valgrind issues reported by Chris Morgan
2007-08-13 23:55:05 +00:00
weidai
cc626bbbce
update version number to 5.5.2
2007-08-13 23:54:25 +00:00
weidai
c56cf40199
fixed Whirlpool crash on Pentium 2 machines
2007-08-13 23:53:09 +00:00
weidai
b1290d0ca2
fix bug reported by Jeffrey Walton
2007-08-13 23:52:06 +00:00
weidai
ea88d3acc3
fixed Salsa20 initialization crash on non-SSE2 machines
2007-08-13 23:48:17 +00:00
weidai
dcf2f472db
fix possible branch prediction analysis (BPA) vulnerability
2007-08-13 23:47:54 +00:00
weidai
9fd6707af7
patch from Jody Hagins to fix gcc 3.2 compile
2007-08-13 23:46:55 +00:00
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