Jeffrey Walton
3941be1889
Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo
2016-01-08 06:53:27 -05:00
Marco Deckel
f6499edf3a
Microsoft ARM support
...
* Adjusted config to compile for Microsoft ARM (e.g. Windows Universal apps)
2015-12-14 16:11:17 +01:00
Jeffrey Walton
6ac1e46a1f
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
Jeffrey Walton
69c6989e99
Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64
2015-08-03 13:14:44 -04:00
Jeffrey Walton
22c3e41133
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
2015-07-30 17:35:58 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a
Added "trap.h" include for header and source files that assert
2015-07-26 15:51:16 -04:00
Jeffrey Walton
e75cb8dd8b
Backed out commit 1dc875a44a. MinGW complained "error: 'p0' was not declared in this scope". Thanks to Ilya Bizyaev for reporting
2015-07-25 06:15:53 -04:00
Jeffrey Walton
1dc875a44a
Cleared "unused variable" warning under GCC 5.1
2015-07-25 02:05:38 -04:00
Jeffrey Walton
6d0dd41eb0
Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain
2015-07-22 03:48:10 -04:00
Jeffrey Walton
3c56063c3f
Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX
2015-07-21 18:05:48 -04:00
Jeffrey Walton
444d1f1a3b
Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM Bug 18916 ( https://llvm.org/bugs/show_bug.cgi?id=18916 )
2015-07-21 14:37:55 -04:00
Jeffrey Walton
81aa87df02
Cleared -Wunused-but-set-variable from GCC 4.8 and GCC 5.1. The way to handle separators is via locales and facets
2015-07-20 00:18:54 -04:00
Jeffrey Walton
3faaf986a4
Cleared warning under Visual Studio
2015-07-17 10:39:45 -04:00
Jeffrey Walton
a14a5696e1
Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD
2015-06-29 02:09:02 -04:00
weidai
1315a7bc9a
port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
...
change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
2010-07-05 01:15:14 +00:00
weidai
1435784dee
switch to non-branching code in AlmostInverse()
2010-06-28 22:42:31 +00:00
weidai
82cc3ff5d4
fix Integer operator<< output on Windows x64
2009-04-05 20:02:22 +00:00
weidai
5e19e65655
fix compile on OpenBSD 4.4
2009-03-13 22:13:21 +00:00
weidai
1b88e58600
from Jeffery Walton: move *.dat files into TestData, make Integer operator<< respect ios::uppercase flag
2009-03-12 01:55:02 +00:00
weidai
d8a644fc4e
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
fa25129ac9
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
f871754502
fix compile with GCC 4.0.1 on MacOS X 64-bit
2008-12-22 06:55:08 +00:00
weidai
3f30574ced
fixes for GCC 4.3.2 (reports from Chris Morgan and DiegoT)
2008-11-21 03:05:32 +00:00
weidai
1240b1690b
fix compile with ICC 10
2007-09-25 04:08:17 +00:00
weidai
c9c1fdbcb4
fix compile with ICC 9.1 on x64
2007-09-24 07:05:29 +00:00
weidai
4e8bde6f04
remove branch in assert
2007-09-24 00:45:16 +00:00
weidai
d42ea79cd7
fix possible branch prediction analysis (BPA) vulnerability
2007-08-13 23:47:54 +00:00
weidai
bbfb7ff438
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
4443d6e363
revert to int return value for Add and Sub
2007-05-05 19:37:51 +00:00
weidai
d2510f30c7
fix compile for x64, DLL and VC 6
2007-05-04 15:24:09 +00:00
weidai
3a3fef7436
fix compile on Sun CC
2007-04-16 05:40:37 +00:00
weidai
68a38c0b9a
fix compile with Intel compiler
2007-04-16 02:51:59 +00:00
weidai
643b302227
MMX/SSE2 optimizations
2007-04-15 23:00:27 +00:00
weidai
826889105d
fix compile with Sun CC 64-bit
2006-12-20 15:20:02 +00:00
weidai
43b41c1042
update version number, port to Sun C++ 5.8
2006-12-18 02:34:33 +00:00
weidai
813d784ea5
fix compile with MSVC 2005 SP1 beta
2006-12-10 23:50:09 +00:00
weidai
1012e664ef
improve Integer initialization
2006-06-09 06:28:22 +00:00
weidai
254b0f0d4d
fix Integer::Encode
2006-03-17 00:38:11 +00:00
weidai
922fdeb150
fix MSVC 2005 warnings
2006-03-13 13:26:41 +00:00
weidai
09bb1aab64
port to GCC 4
2005-09-05 21:43:43 +00:00
weidai
1db8ea5084
port to MSVC .NET 2005 beta 2
2005-07-12 04:23:32 +00:00
weidai
b3924f2108
changes done for FIPS-140 lab code drop
2005-01-20 04:19:35 +00:00
weidai
d617e3d925
fix compile with -msse2 on systems without memalign()
2004-07-18 09:23:13 +00:00
weidai
7001c6d388
fix for -fPIC
2004-07-05 21:49:50 +00:00
weidai
5bee373ff3
disable x86 assembly on systems without GNU as 2.10 or later
2004-06-19 11:00:52 +00:00
weidai
f78fccb3cc
port to GCC 3.4
2004-06-19 08:28:09 +00:00
weidai
c5dc93b4dd
avoid read-ahead into invalid memory in P4Optimized::Add
2003-10-31 02:40:42 +00:00
weidai
ac8389ac92
add detection for OS support of SSE2
2003-09-05 00:54:14 +00:00
weidai
89862d1220
guard against potential integer overflow in allocators
2003-08-04 19:00:41 +00:00
weidai
2d11a04dc7
fix DLL build
2003-08-01 04:24:51 +00:00
weidai
3d354a8bf2
unify GCC and MSVC multiplication code
2003-08-01 03:20:16 +00:00
weidai
93d56c76c1
enable SSE2 intrinsics on GCC 3.3 or later
2003-07-31 01:54:53 +00:00
weidai
9c5c4769a9
fix potential threading problem with initialization of static objects
2003-07-29 01:18:33 +00:00
weidai
1a6d66e68a
fix for x64-64
2003-07-26 07:57:55 +00:00
weidai
57109b3120
fix bugs in 64-bit CPU support
2003-07-25 00:15:52 +00:00
weidai
4e67d23468
fix 64-bit CPU issues
2003-07-19 05:16:49 +00:00
weidai
db4981d479
assembly for more 64-bit CPUs
2003-07-19 03:46:02 +00:00
weidai
38b49e4543
added support for using encoding parameters and key derivation parameters
2003-07-16 01:53:45 +00:00
weidai
f278895908
create DLL version, fix GetNextIV() bug in CTR and OFB modes
2003-07-04 00:17:37 +00:00
weidai
6c4437d03d
sync with private branch
2003-06-06 02:34:03 +00:00
weidai
f7e64c2efc
changes for VS.NET 2003
2003-04-19 21:50:08 +00:00
weidai
1dcc6c9483
STLport workaround
2003-03-23 05:02:56 +00:00
weidai
6698a18606
fix warnings for VC7 and GCC
2003-03-20 20:39:59 +00:00
weidai
538de80a91
various changes for 5.1
2003-03-20 01:24:12 +00:00
weidai
1d4b38de7f
increase resistance against timing attacks
2003-02-28 21:28:28 +00:00
weidai
1e45c2d305
compatibility fixes for MacOS X
2002-10-04 21:45:04 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00