summaryrefslogtreecommitdiff
path: root/secblock.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace for memset, memcpy, memcmp (#1204)Jeffrey Walton2023-04-151-3/+3
|
* Update documentationJeffrey Walton2021-04-091-3/+6
|
* Update documentationJeffrey Walton2021-04-091-23/+31
|
* Update SecBlock and ByteQueue documentationJeffrey Walton2021-04-091-0/+2
|
* Update SecBlock documentationJeffrey Walton2021-04-091-3/+5
|
* Update documentation for SecBlockJeffrey Walton2021-04-091-3/+3
|
* Whitespace check-inJeffrey Walton2021-04-091-5/+1
|
* Update documentation for SecBlockJeffrey Walton2021-04-091-2/+2
|
* Update documentation for SecBlockJeffrey Walton2021-04-091-37/+23
|
* Update SecBlock Assign and AppendJeffrey Walton2021-04-091-14/+22
| | | | 0-size arrays need to be assigned, too.
* Update SecBlock Assign and AppendJeffrey Walton2021-04-091-17/+15
| | | | 0-size arrays need to be assigned, too.
* Shore up SecBlock Append for overlapping bufferJeffrey Walton2021-04-091-8/+15
|
* Fix spellingJeffrey Walton2021-04-091-1/+1
|
* Update documentationJeffrey Walton2021-04-091-0/+3
|
* Update documentationJeffrey Walton2021-04-091-1/+1
|
* Fix SecBlock Append() overloadJeffrey Walton2021-04-091-2/+2
|
* Add SecBlock Append() overloadsJeffrey Walton2021-04-091-48/+147
|
* Add parameter to CRYPTOPP_INHERIT_ALLOCATOR_TYPESJeffrey Walton2020-12-301-12/+12
| | | | This allows us to specialize the allocators based on type.
* Fix spellingJeffrey Walton2020-12-301-1/+1
|
* Update commentsJeffrey Walton2020-12-291-7/+8
|
* Update commentsJeffrey Walton2020-12-291-16/+17
|
* Use 8-byte alignment for FixedSizeAllocatorWithCleanup when 16-byte ↵Jeffrey Walton2020-12-291-4/+14
| | | | alignment is false (GH #992)
* Remove special case for FixedSizeAllocatorWithCleanup x86_64 (GH #988)Jeffrey Walton2020-12-271-24/+16
|
* Update FixedSizeAllocatorWithCleanup alignmentJeffrey Walton2020-12-241-6/+2
|
* Fix spellingJeffrey Walton2020-12-241-1/+1
|
* Fix offset calculation in FixedSizeAllocatorWithCleanup when ↵Jeffrey Walton2020-12-241-1/+1
| | | | CRYPTOPP_BOOL_ALIGN16==0 (GH #988)
* Fix missing closing parenJeffrey Walton2020-12-241-1/+1
|
* Update commentsJeffrey Walton2020-12-241-2/+9
|
* Update commentsJeffrey Walton2020-12-241-3/+3
|
* Fix buffer underrun in FixedSizeAllocatorWithCleanup when ↵Jeffrey Walton2020-12-241-10/+21
| | | | CRYPTOPP_BOOL_ALIGN16==0 (GH #982)
* Fix assert in FixedSizeAllocatorWithCleanupJeffrey Walton2020-12-241-1/+1
|
* Fix use of CRYPTOPP_BOOL_ALIGN16 (GH #982)Jeffrey Walton2020-12-191-3/+3
|
* Use \return and \throw consitently in the docsJeffrey Walton2020-12-071-28/+28
|
* Use CRYPTOPP_CXX11_STRONG_ENUM define nameJeffrey Walton2020-08-061-2/+2
|
* Clear GCC analyzer warningJeffrey Walton2020-07-171-11/+17
|
* Clean GCC 10 Analyzer warningsJeffrey Walton2020-05-101-2/+3
|
* Use size_type in allocator functionsJeffrey Walton2019-10-141-11/+13
|
* Cleanup asserts in SecBlockJeffrey Walton2019-10-141-17/+34
| | | | SecBlock regularly uses NULL pointers rather returning non-NULL 0-sized pointers. The asserts were moved to AlignedAllocate and UnalignedAllocate.
* Avoid circular dependency using AlignedAllocate (GH #885)Jeffrey Walton2019-09-281-1/+2
|
* Use AlignedDeallocate if T_Align16 in deallocate (GH #875)Jeffrey Walton2019-09-271-10/+9
| | | | This should match the behavior of allocate
* Remove unneeded size check (GH #875)Jeffrey Walton2019-09-271-2/+2
|
* Update documentationJeffrey Walton2019-08-311-155/+174
|
* Fix spellingJeffrey Walton2019-02-061-1/+1
|
* Fix clang warnings (GH #771)Marcel Raad2019-01-021-2/+2
|
* Fix missing SunCC Allocator::max_size(size_type) member function (GH #770)Jeffrey Walton2019-01-011-0/+6
|
* Fix alignment on AIX (GH #745)Jeffrey Walton2018-11-221-12/+14
|
* Add additional assert to FixedSizeAllocatorWithCleanup (GH #745)Jeffrey Walton2018-11-211-0/+3
| | | | This assert checks the array we return to the caller is large enough. Spoiler alert... it is not always large enough, like on 64-bit AIX. The linker on AIX appears to align smaller than 8-bytes
* Clear documentation warning due to specializationJeffrey Walton2018-08-281-4/+0
| | | | The specialization pivoted on T_Align16 so it is not longer a template parameter
* Update commentsJeffrey Walton2018-08-241-2/+12
|
* Fix partial specializations for FixedSizeAllocatorWithCleanup (PR #710)Jeffrey Walton2018-08-241-10/+33
| | | | | Commit afbd3e60f68f effectively treated a symptom and not the underlying problem. The problem was linkers on 32-bit systems ignore CRYPTOPP_ALIGN_DAT(16) passed down by the compiler and align to 8-bytes or less. We have to use Wei's original code in some places. It is not a bad thing, but the bit fiddling is something we would like to contain a little more by depending more on language or platform features. This commit keeps the original changes which improve partial specializations; but fixes 32-bit linker behavior by effectively reverting afbd3e60f68f and e054d36dc88d00. We also add more comments so the next person has understands why things are done they way they are.