summaryrefslogtreecommitdiff
path: root/cryptlib.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Simplify C++ dynamic object initializationJeffrey Walton2017-03-201-22/+27
| | | | | | | | | | | Wrap DetectArmFeatures and DetectX86Features in InitializeCpu class Use init_priority for InitializeCpu Remove HAVE_GCC_CONSTRUCTOR1 and HAVE_GCC_CONSTRUCTOR0 Use init_seg(<name>) on Windows and explicitly insert at XCU segment Simplify logic for HAVE_GAS Remove special recipies for MACPORTS_GCC_COMPILER Move C++ static initializers into anonymous namespace when possible Add default NullNameValuePairs ctor for Clang
* Updated static initializersJeffrey Walton2017-03-171-18/+15
| | | | | 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.
* Avoid inlining LibraryVersion (Issue 371)Jeffrey Walton2017-03-141-1/+1
|
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-2/+2
|
* Remove NULL_CHANNEL and CW8 workaround (Issue 382)Jeffrey Walton2017-03-011-3/+0
|
* Change to more intuitive names LibraryVersion and HeaderVersion (Issue 371)Jeffrey Walton2017-01-281-1/+1
|
* Add BuildVersion and RuntimeVersion functions (Issue 371)Jeffrey Walton2017-01-281-1/+10
| | | | 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
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* spelling fixesklemens2016-12-271-2/+2
|
* Silence select conversion warnings (Issue 340)Jeffrey Walton2016-12-021-3/+15
|
* Fix Solaris GCC and "constructor priorities are not supported"Jeffrey Walton2016-09-191-4/+0
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-15/+15
| | | | 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
* Updated documentation (Issue 248)Jeffrey Walton2016-08-271-9/+9
|
* Cleared most "Conditional jump or move depends on uninitialised value" ↵Jeffrey Walton2016-07-131-4/+5
| | | | (Issue 223)
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-1/+47
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-840/+895
|
* Partial cut-over to static local strings for DefaultChannel() and ↵Jeffrey Walton2015-07-311-3/+2
| | | | AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes
* Cleared auto_ptr deprecation warning with C++11 under Debian 8/i686Jeffrey Walton2015-07-301-7/+14
|
* Fixed compiler errors on Apple due to cross product of {C++03,C++11} x ↵Jeffrey Walton2015-07-271-2/+2
| | | | {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed.
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-9/+9
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary ↵Jeffrey Walton2015-06-291-0/+5
| | | | compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD
* fix CTR mode not allowing NULL as IVweidai2010-08-051-1/+1
|
* fix possible race condition in Singleton::Ref()weidai2010-06-181-1/+8
| | | | | tolerate double destruction of Singleton and g_nullNameValuePairs fix #include of standard headers
* add x86/x64 assembly for SHA-256,weidai2009-03-101-5/+8
| | | | | add DEFAULT_CHANNEL and AAD_CHANNEL, fix macChannel for AuthenticatedEncryptionFilter
* tweaks/fixes for 5.6weidai2009-03-031-0/+18
|
* changes for 5.6: weidai2009-03-021-22/+101
| | | | | | - 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
* add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interfaceweidai2007-05-041-12/+38
|
* rename STRUCTURED_IV to UNIQUE_IV. Sun CC workaroundweidai2007-04-161-1/+1
|
* port to GCC 4, reorganize implementations of SetKeyweidai2006-12-101-4/+10
|
* merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6weidai2006-04-061-2/+2
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-60/+62
|
* changes done for FIPS-140 lab code dropweidai2005-01-201-2/+2
|
* fix documentation, fix PanamaMAC, fix algorithm namesweidai2004-07-221-0/+1
|
* workaround alpha build problemweidai2003-07-311-8/+8
|
* fix bugs in 64-bit CPU supportweidai2003-07-251-0/+2
|
* allow DLL to be built with VC++ .NETweidai2003-07-181-63/+67
|
* misc changesweidai2003-07-181-3/+3
|
* added support for using encoding parameters and key derivation parametersweidai2003-07-161-57/+39
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-1/+6
|
* misc optimizationsweidai2003-05-161-16/+0
|
* fix bugs in SEAL and Panamaweidai2003-03-261-0/+22
|
* various changes for 5.1weidai2003-03-201-22/+49
|
* Initial revisionweidai2002-10-041-0/+660