summaryrefslogtreecommitdiff
path: root/secblock.h
Commit message (Collapse)AuthorAgeFilesLines
* Update commentsJeffrey Walton2018-07-301-8/+10
|
* Fix FixedSizeAllocatorWithCleanup assert on SolarisJeffrey Walton2018-07-301-1/+27
|
* Fix clang warnings in headers (#655)Marcel Raad2018-05-101-3/+3
| | | | | | | | | | * remove superfluous semicolon * Remove C-style casts from public headers clang warns about them with -Wold-style-cast. It also warns about implicitly casting away const with -Wcast-qual. Fix both by removing unnecessary casts and converting the remaining ones to C++ casts.
* Fix compile error on Windows due to symbol U collision (GH #599)Jeffrey Walton2018-03-161-16/+16
| | | | A package called cpprest provides U as a macro
* Remove unneeded Doxygen directiveJeffrey Walton2018-01-191-11/+0
|
* Change Doxygen comment style from //! to ///Jeffrey Walton2017-11-291-366/+366
| | | | Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
* Update documentationJeffrey Walton2017-09-271-0/+14
|
* Back-off assert in SecBlockJeffrey Walton2017-09-021-2/+4
| | | | Since removing the allocator overloards that handled the wipe mark, we have to route deallocate into the standard one. The standard one fires an assert for [now] normal operation
* Remove unneeded deallocate (GH #485)Jeffrey Walton2017-08-311-6/+0
| | | | This should have been yanked when we removed the same for allocate
* Remove deallocate() overload in SecBlock for AIX (GH #485)Jeffrey Walton2017-08-311-45/+1
|
* Actually fix the VS2010 compilation bug. I somehow missed this in the first ↵Wyatt O'Day2017-08-301-1/+1
| | | | | pull request. (#482) Thank you very much.
* Fix compilation of secblock.h under Visual Studio 2010 (which only has ↵Wyatt O'Day2017-08-291-1/+1
| | | | partial C++ 2011 support). (#477)
* Test align 16 for i386 and x86_64Jeffrey Walton2017-08-271-1/+1
| | | | Take 2
* Test align 16 for i386 and x86_64Jeffrey Walton2017-08-271-2/+2
|
* Update documentationJeffrey Walton2017-08-191-5/+13
|
* Fix MSC C4100 warning for sizeJeffrey Walton2017-08-181-0/+2
| | | | Also see commit 42b7c4ea5673.
* Clear Coverity finding CONSTANT_EXPRESSION_RESULT (CID 182772)Jeffrey Walton2017-08-181-1/+5
| | | | This may create a MSC warning about a conditional expression being constant
* Fix constexpr issues under GCC 4.1.2 found on CentOS 5Jeffrey Walton2017-08-171-1/+1
|
* Add ELEMS_MAX for SecBlock (Issue 346)Jeffrey Walton2017-08-151-15/+55
| | | | Reset the mark on additional class methods
* Make SecBlock<T,A> data members protectedJeffrey Walton2017-07-271-1/+1
| | | | Also see http://github.com/weidai11/cryptopp/issues/448
* Update documentationJeffrey Walton2017-07-271-5/+3
| | | | This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
* Revert "Revert "Clear Visual Studio warnings (Issue 412)""Jeffrey Walton2017-06-021-2/+2
| | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
* Revert "Clear Visual Studio warnings (Issue 412)"Jeffrey Walton2017-06-021-2/+2
| | | | This reverts commit eb3b27a6a543. The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
* Clear Visual Studio warnings (Issue 412)Jeffrey Walton2017-05-301-2/+2
|
* Remove VC++ 6.0 guard and code (Issue 342)Jeffrey Walton2017-03-011-4/+0
|
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-11/+11
|
* Change next version from 5.7 to 6.0Jeffrey Walton2017-02-211-1/+1
| | | | Crypto++ 5.7 was the increment after the 5.6.5 release. Crypto++ 6.0 accurately reflects compatibility
* Add NIST SP800-90A HMAC_DRBG generatorJeffrey Walton2017-02-071-5/+5
| | | | | Move bodies out-of-line Whitespace
* Add SecBlock member to track number of elements to zeroize (Issue 346)Jeffrey Walton2017-01-281-28/+111
| | | | | By default the member, named m_mark, is set to the maximum number of elements. If SetMark() is called, then m_mark is adjusted. Upon deallocation and zeroization, STDMIN(m_size, m_mark) elements are zeroized. We wanted to use a high water mark, but we could not track the writes to the allocation. operator[] would have been OK, but ::memcpy would have been problematic
* 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
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-16/+16
| | | | 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 use of FixedSizeAlignedSecBlock and non-aligned allocator in ↵Jeffrey Walton2016-09-091-1/+4
| | | | validat1.cpp (Issue 256)
* Add constexpr to size_max() methods for C++11Jeffrey Walton2016-09-041-16/+16
|
* Updated documentationJeffrey Walton2016-05-211-25/+15
|
* Updated documentationJeffrey Walton2016-05-191-2/+8
|
* Updated documentationJeffrey Walton2016-05-191-4/+6
|
* Update documentationJeffrey Walton2016-02-291-2/+9
|
* Updated documentationJeffrey Walton2016-02-011-1/+1
|
* Cleared -Wcast-align (Issue 122)Jeffrey Walton2016-01-251-10/+1
|
* Suppressed false positives on -Wcast-align warningJeffrey Walton2016-01-141-0/+11
|
* Removed unneeded test for 0-sized SecBlock. Removed temporary SecBlockJeffrey Walton2016-01-081-5/+3
|
* Added test case for growing FixedSizeSecBlock. Fixed copy count during growJeffrey Walton2015-12-311-1/+1
|
* Added "make coverage" recipe. Added additional SecBlock testsJeffrey Walton2015-12-281-1/+4
|
* Fixed SecBlock append when "this == t", fixed assert, added validation test ↵Jeffrey Walton2015-12-281-11/+19
| | | | (Issue 92)
* Revert "Fixed SecBlock append when "this == t" (Issue 92)". It was an ↵Jeffrey Walton2015-12-271-18/+10
| | | | | | incomplete remediation. This reverts commit 8b0f29a4f2fc558f8bdbb7bcfcecadaaba34ae76.
* Fixed SecBlock append when "this == t" (Issue 92)Jeffrey Walton2015-12-271-10/+18
|
* Revert "Fixed append when "this == t" (Issue 92)". It was an incomplete ↵Jeffrey Walton2015-12-271-18/+10
| | | | | | remediation. This reverts commit c16ce2530af7ee8a038e387a3879e57c793e9cb2.
* Fixed append when "this == t" (Issue 92)Jeffrey Walton2015-12-271-10/+18
|
* Updated documentationJeffrey Walton2015-12-161-3/+3
|
* Fixed documentation on New(), CleanNew(), Grow() and CleanGrow()Jeffrey Walton2015-12-121-32/+22
|