Jeffrey Walton
301437e693
Updated static initializers
...
When MSVC init_seg or GCC init_priority is available, we don't need to use the Singleton. We only need to create a file scope class variable and place it in the segment for MSVC or provide the attribute for GCC.
An additional upside is we cleared all the memory leaks that used to be reported by MSVC for debug builds.
2017-03-17 20:47:32 -04:00
Jeffrey Walton
d8570a3435
Avoid inlining LibraryVersion (Issue 371)
2017-03-14 10:26:51 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
5fb2f5d45b
Remove NULL_CHANNEL and CW8 workaround (Issue 382)
2017-03-01 03:54:02 -05:00
Jeffrey Walton
42af35fd2b
Change to more intuitive names LibraryVersion and HeaderVersion (Issue 371)
2017-01-28 07:09:27 -05:00
Jeffrey Walton
6f7339c81b
Add BuildVersion and RuntimeVersion functions (Issue 371)
...
These function are intended to catch mining and matching of library versions. BuildVersion provides CRYPTOPP_VERSION when the shared object was built. RuntimeVersion provides CRYPTOPP_VERSION the app compiled against, which could be different than the shared object's version
2017-01-28 05:43:24 -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
klemens
5a5c633073
spelling fixes
2016-12-27 18:34:57 +01:00
Jeffrey Walton
6eb2792bc2
Silence select conversion warnings (Issue 340)
2016-12-02 14:47:31 -05:00
Jeffrey Walton
923efa865b
Fix Solaris GCC and "constructor priorities are not supported"
2016-09-19 21:18:58 -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
fcdc845bba
Updated documentation (Issue 248)
2016-08-27 23:52:43 -04:00
Jeffrey Walton
8281e51e94
Cleared most "Conditional jump or move depends on uninitialised value" (Issue 223)
2016-07-13 00:40:07 -04: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
d935fd80ba
Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes
2015-07-31 08:23:53 -04:00
Jeffrey Walton
7ad12ab5b0
Cleared auto_ptr deprecation warning with C++11 under Debian 8/i686
2015-07-30 12:07:26 -04:00
Jeffrey Walton
ef318d5423
Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed.
2015-07-27 16:01:55 -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
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
d938406410
fix CTR mode not allowing NULL as IV
2010-08-05 09:48:04 +00:00
weidai
d60229a02a
fix possible race condition in Singleton::Ref()
...
tolerate double destruction of Singleton and g_nullNameValuePairs
fix #include of standard headers
2010-06-18 07:06:59 +00: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
8565900724
tweaks/fixes for 5.6
2009-03-03 03:28:39 +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
5834ecc870
add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interface
2007-05-04 15:38:32 +00:00
weidai
2a427babae
rename STRUCTURED_IV to UNIQUE_IV. Sun CC workaround
2007-04-16 00:29:47 +00:00
weidai
f05ea58bb3
port to GCC 4, reorganize implementations of SetKey
2006-12-10 02:12:23 +00:00
weidai
6aacd0a0de
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
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
393ae4859a
fix documentation, fix PanamaMAC, fix algorithm names
2004-07-22 00:51:57 +00:00
weidai
083bd3db7c
workaround alpha build problem
2003-07-31 01:56:19 +00:00
weidai
57109b3120
fix bugs in 64-bit CPU support
2003-07-25 00:15:52 +00:00
weidai
55a22f2adf
allow DLL to be built with VC++ .NET
2003-07-18 21:33:18 +00:00
weidai
5b2008101c
misc changes
2003-07-18 04:35:30 +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
c9f75009a5
misc optimizations
2003-05-16 00:02:31 +00:00
weidai
b4f6ef8e16
fix bugs in SEAL and Panama
2003-03-26 21:50:44 +00:00
weidai
538de80a91
various changes for 5.1
2003-03-20 01:24:12 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00