summaryrefslogtreecommitdiff
path: root/misc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear unreachable code warnings with early MSVC compilersJeffrey Walton2019-10-031-0/+1
|
* Add BytePtr and ConstBytePtr overloads for SecByteBlock (GH #890)Jeffrey Walton2019-10-031-0/+22
|
* Avoid circular dependency using AlignedAllocate (GH #885)Jeffrey Walton2019-09-281-79/+1
|
* Update documentationJeffrey Walton2019-07-061-2/+2
|
* Add additional comments to Aligned Allocator (GH #779)Jeffrey Walton2019-01-161-0/+3
|
* Make AlignedAllocate available in simulator debug builds (GH #779, PR #780)Jeffrey Walton2019-01-111-4/+0
| | | | | * Make AlignedAllocate available in simulator debug builds (GH #779) * Use CRYPTOPP_CONSTANT for rotate params
* Move CRYPTOPP_POSIX_MEMALIGN_AVAILABLE preference downJeffrey Walton2018-01-301-5/+3
| | | | This should result in fewer surprises
* Cleanup Doxygen directivesJeffrey Walton2018-01-221-1/+1
|
* Fix AIX AlignedAllocateJeffrey Walton2018-01-211-0/+6
| | | | Well, the IBM docs were not quite correct when they stated "The block is aligned so that it can be used for any type of data". The vector data types are pretty standard, even across different machines from diffent manufacturers
* Fix unwanted inlining of factory.h classes on AIX and Power7Jeffrey Walton2017-10-131-1/+1
| | | | | | Enable aligned allocations under IBM XL C/C++. Based on the AIX malloc man pages, "... the block is aligned so that it can be used for any type of data". Previously CRYPTOPP_NO_ALIGNED_ALLOC was in effect. Use malloc instead of calloc on OS X. Based on the OS X malloc man pages, "... the allocated memory is aligned such that it can be used for any data type, including AltiVec- and SSE-related types". Additionally, calloc zero'd the memory it allocated which slowed things down on Apple systems.
* Add StringWiden functionJeffrey Walton2017-03-171-0/+64
| | | | StringWiden converts a narrow C-style string to a wide string. It serves the opposite role of StringNarrow function. The function is useful on Windows platforms where the OS favors wide functions with the UTF-16 character set. For example, the Data Proction API (DPAPI) allows a description, but its a wide character C-string. There is no narrwo version of the API.
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-15/+15
|
* 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
* Removed VC++ 5.0 and 6.0 workarounds (Issue 342)Jeffrey Walton2016-12-031-5/+3
|
* Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)Jeffrey Walton2016-12-031-8/+14
|
* 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
* Fixed potential ODR violation of non-member function StringNarrowJeffrey Walton2016-01-301-0/+58
|
* Cleared -Wcast-align (Issue 122)Jeffrey Walton2016-01-251-10/+6
|
* Suppressed false positives on -Wcast-align warningJeffrey Walton2016-01-141-0/+4
|
* Crypto++ 5.6.3 check-inCRYPTOPP_5_6_3Jeffrey Walton2015-11-221-1/+4
|
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-6/+21
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-203/+192
|
* Improved comment on xorbuff and GCC's selection of vmovdqaJeffrey Walton2015-07-281-2/+3
|
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-8/+8
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+2
|
* Cleared compile error masked behind ASSERTJeffrey Walton2015-07-141-7/+7
|
* Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to ↵Jeffrey Walton2015-07-131-3/+16
| | | | vectorization and alignment violations agains the vmovdqa instruction
* fix compile on Linuxweidai2010-07-241-0/+4
|
* move memory allocation/deallocation for SecBlock into DLLweidai2010-07-241-0/+53
|
* changes for 5.6: weidai2009-03-021-6/+38
| | | | | | - 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
* speed up xorbufweidai2007-05-041-10/+54
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-46/+2
|
* minor changesweidai2003-08-251-0/+1
|
* guard against potential integer overflow in allocatorsweidai2003-08-041-0/+17
|
* remove gcc warningsweidai2003-07-261-2/+2
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-8/+5
|
* Initial revisionweidai2002-10-041-0/+83