Jeffrey Walton
d4b3e1535a
Limit GCC workaround to 5.3 on PowerPC
...
GCC fixed the issue at GCC 5.3. Also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31690
2019-07-05 18:08:05 -04:00
Jeffrey Walton
9c28cf2227
Whitespace check-in
...
Cleanup after the VMAC fixes
2019-07-05 17:26:50 -04:00
Jeffrey Walton
ad99fc5b05
Clear Asan finding in VMAC under 32-bit inline ASM (GH #860 )
...
Second try. The first try cleared the Asan finding but broke at -O3. Eventually we will skin this cat.
2019-07-05 16:33:01 -04:00
Jeffrey Walton
7fd751ed36
Revert Asan finding in VMAC change (GH #860 )
...
cryptest.sh showed it broke at -O3
2019-07-05 11:58:35 -04:00
Jeffrey Walton
f7986129df
Clear Asan finding in VMAC under 32-bit inline ASM (GH #860 )
...
This one has been nagging us for a while. Tested OK under i686 and x86_64.
2019-07-05 03:38:03 -04:00
Jeffrey Walton
1f1c90cc29
Fix _M_IX86 typo
2019-01-04 20:33:53 -05:00
Jeffrey Walton
5ccbd9af6a
Use Microsoft x86-beased defined for __emulu
2019-01-04 10:29:24 -05:00
Jeffrey Walton
619f9790df
Fix VMAC ARM64 compile with MSVC compiler (GH #776 )
2019-01-04 10:25:52 -05:00
Jeffrey Walton
31ebabeb1e
Cleanup headers in vmac.cpp
2018-08-18 07:21:42 -04:00
Jeffrey Walton
4282f94712
Disable X32 inline assembly (GH #686 , PR #704 )
...
Also use CRYPTOPP_DISABLE_XXX_ASM consistently. The pattern is needed for Clang which still can't compile Intel assembly language. Also see http://llvm.org/bugs/show_bug.cgi?id=24232 .
2018-08-18 04:44:53 -04:00
Jeffrey Walton
09023bf45e
Align buffers for Poly1305 and VMAC
2017-09-05 16:43:29 -04:00
Jeffrey Walton
7851a0d510
Remove BOOL macro value (GH #462 )
...
Currently the CRYPTOPP_BOOL_XXX macros set the macro value to 0 or 1. If we remove setting the 0 value (the #else part of the expression), then the self tests speed up by about 0.3 seconds. I can't explain it, but I have observed it repeatedly.
This check-in prepares for the removal in Upstream master
2017-08-20 21:25:29 -04:00
Anton Gorev
1df5fc1e21
Revert "Some fixes related to SunCC compiler bugs."
...
This reverts commit 72d8cbe917
.
2017-04-27 13:50:47 -05:00
Anton Gorev
72d8cbe917
Some fixes related to SunCC compiler bugs.
...
Fixes for "invalid address alignment" errors. See https://groups.google.com/d/topic/cryptopp-users/OYaByDEbSI0/discussion for details.
Changed config.h in accordance to Jeffrey Walton's request;
2017-04-21 15:26:16 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
...
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342)
2016-12-03 05:05:56 -05:00
Jeffrey Walton
6200029faa
Fix Clang 3.3 and 3.4 compiles (Issue 264)
2016-09-21 13:57:37 -04:00
Jeffrey Walton
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
894874fe75
Whitespace checkin
2016-09-10 04:57:48 -04:00
Jeffrey Walton
24e16f0ac3
Fixed unused variable warnings
2016-01-25 08:58:33 -05:00
Jeffrey Walton
cdcff65a35
Cleared -Wcast-align (Issue 122)
2016-01-25 00:12:37 -05:00
Jeffrey Walton
917b7467b7
Cleared -Wcast-align (Issue 122)
2016-01-24 22:01:24 -05:00
Jeffrey Walton
be67acdb1d
Merge pull request #84 from m-deckel/visualstudio-arm
...
Microsoft ARM support
2015-12-14 15:52:13 -05:00
Jeffrey Walton
d9749ce7ac
Updated documentation
2015-12-14 15:50:56 -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
b84cd9013a
Supress "-Wmaybe-unitiialized" warning under GCC; guard to ensure it does not produce unknown pragma warning under Clang
2015-07-31 04:44:28 -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
29c4310aab
Cleared remaining issues related to Clang's integarted assembler parsing of the syntax string
2015-07-22 03:59:21 -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
f03ab5cbd1
Removed execute bit from C++ header and source files
2015-06-24 14:15:29 -04:00
Jeffrey Walton
e2c469dc41
Cleared GCC/Clang warning on unknown pragma
2015-06-09 11:35:45 -04:00
weidai
8ca6148ad5
add x86/x64 assembly for SHA-256,
...
add DEFAULT_CHANNEL and AAD_CHANNEL,
fix macChannel for AuthenticatedEncryptionFilter
2009-03-10 02:56:19 +00:00
weidai
b249126f69
work around GCC Bug 31690
2009-03-03 06:51:34 +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
eb5732337b
fix incorrect VMAC computation on message lengths that are >64 mod 128
2009-01-24 02:51:45 +00:00
weidai
07e0b3805f
fix compile with -fPIC (reported by Geoff Beier)
2008-11-21 05:30:58 +00:00
weidai
1240b1690b
fix compile with ICC 10
2007-09-25 04:08:17 +00:00
weidai
9026dd6c7f
patch from Jody Hagins to fix gcc 3.2 compile
2007-08-13 23:46:55 +00:00
weidai
93fa6bc9e4
fix bug on 32-bit big-endian machines
2007-05-24 20:24:30 +00:00
weidai
f018ac354a
fix compile on Turbo C++ 2006
2007-05-05 18:29:44 +00:00
weidai
87356fd44e
fix compile with ICC for ia64
2007-05-05 04:12:36 +00:00
weidai
a1e8a5f05c
fix bug in assembly
2007-05-04 23:18:04 +00:00
weidai
d2d9be75ef
VMAC draft-krovetz-vmac-01
2007-05-04 21:41:38 +00:00