Jeffrey Walton
a89a27b72c
Attempt to keep Clang out of other compiler paths (GH #147 )
2023-06-25 18:28:11 -04:00
Jeffrey Walton
f5f63850f9
Use std namespace for memset, memcpy, memcmp ( #1204 )
2023-04-15 16:45:02 -04:00
Jeffrey Walton
a6bb071b73
Update documentation
2021-04-09 23:14:21 -04:00
Jeffrey Walton
89b4999adc
Update documentation
2021-04-09 21:59:49 -04:00
Jeffrey Walton
649b3b10b5
Update SecBlock and ByteQueue documentation
2021-04-09 20:11:03 -04:00
Jeffrey Walton
e5cf34ed32
Update SecBlock documentation
2021-04-09 19:07:40 -04:00
Jeffrey Walton
0af5b86ce7
Update documentation for SecBlock
2021-04-09 12:32:19 -04:00
Jeffrey Walton
d90f9aadd9
Whitespace check-in
2021-04-09 12:29:57 -04:00
Jeffrey Walton
3645736137
Update documentation for SecBlock
2021-04-09 12:04:28 -04:00
Jeffrey Walton
39a73282dd
Update documentation for SecBlock
2021-04-09 12:00:10 -04:00
Jeffrey Walton
fcf1f56833
Update SecBlock Assign and Append
...
0-size arrays need to be assigned, too.
2021-04-09 04:55:28 -04:00
Jeffrey Walton
f1f23c083a
Update SecBlock Assign and Append
...
0-size arrays need to be assigned, too.
2021-04-09 04:29:37 -04:00
Jeffrey Walton
f1877cb348
Shore up SecBlock Append for overlapping buffer
2021-04-09 03:17:48 -04:00
Jeffrey Walton
a608c26dd6
Fix spelling
2021-04-09 01:54:39 -04:00
Jeffrey Walton
cfad40c716
Update documentation
2021-04-09 01:52:53 -04:00
Jeffrey Walton
388ff89b5c
Update documentation
2021-04-09 01:44:18 -04:00
Jeffrey Walton
d6799a6984
Fix SecBlock Append() overload
2021-04-09 01:40:24 -04:00
Jeffrey Walton
191e08c838
Add SecBlock Append() overloads
2021-04-09 01:23:08 -04:00
Jeffrey Walton
2370263334
Add parameter to CRYPTOPP_INHERIT_ALLOCATOR_TYPES
...
This allows us to specialize the allocators based on type.
2020-12-30 06:02:57 -05:00
Jeffrey Walton
38cff9aa59
Fix spelling
2020-12-30 03:04:09 -05:00
Jeffrey Walton
78c85f4d73
Update comments
2020-12-29 13:30:38 -05:00
Jeffrey Walton
579a5c8a70
Update comments
2020-12-29 13:24:34 -05:00
Jeffrey Walton
4bc7408ae2
Use 8-byte alignment for FixedSizeAllocatorWithCleanup when 16-byte alignment is false (GH #992 )
2020-12-29 01:49:17 -05:00
Jeffrey Walton
b434e4cfbd
Remove special case for FixedSizeAllocatorWithCleanup x86_64 (GH #988 )
2020-12-27 00:14:41 -05:00
Jeffrey Walton
3b187a0ff7
Update FixedSizeAllocatorWithCleanup alignment
2020-12-24 16:26:21 -05:00
Jeffrey Walton
bc02bccce5
Fix spelling
2020-12-24 16:18:29 -05:00
Jeffrey Walton
ec3733c378
Fix offset calculation in FixedSizeAllocatorWithCleanup when CRYPTOPP_BOOL_ALIGN16==0 (GH #988 )
2020-12-24 15:32:20 -05:00
Jeffrey Walton
a779191c45
Fix missing closing paren
2020-12-24 14:39:25 -05:00
Jeffrey Walton
82672378e5
Update comments
2020-12-24 14:37:52 -05:00
Jeffrey Walton
0b70a5e733
Update comments
2020-12-24 14:22:34 -05:00
Jeffrey Walton
60aa3e7fe9
Fix buffer underrun in FixedSizeAllocatorWithCleanup when CRYPTOPP_BOOL_ALIGN16==0 (GH #982 )
2020-12-24 14:20:23 -05:00
Jeffrey Walton
5537d998a1
Fix assert in FixedSizeAllocatorWithCleanup
2020-12-24 13:09:38 -05:00
Jeffrey Walton
b08495b4ec
Fix use of CRYPTOPP_BOOL_ALIGN16 (GH #982 )
2020-12-19 19:43:45 -05:00
Jeffrey Walton
ac6987f3ae
Use \return and \throw consitently in the docs
2020-12-07 23:35:10 -05:00
Jeffrey Walton
96344bc767
Use CRYPTOPP_CXX11_STRONG_ENUM define name
2020-08-06 17:55:45 -04:00
Jeffrey Walton
080bbae6dd
Clear GCC analyzer warning
2020-07-17 01:16:16 -04:00
Jeffrey Walton
680956e134
Clean GCC 10 Analyzer warnings
2020-05-10 01:25:39 -04:00
Jeffrey Walton
7b0ec4d4a6
Use size_type in allocator functions
2019-10-14 01:56:30 -04:00
Jeffrey Walton
0c27093ab6
Cleanup asserts in SecBlock
...
SecBlock regularly uses NULL pointers rather returning non-NULL 0-sized pointers. The asserts were moved to AlignedAllocate and UnalignedAllocate.
2019-10-14 01:00:49 -04:00
Jeffrey Walton
1190da17ea
Avoid circular dependency using AlignedAllocate (GH #885 )
2019-09-28 18:22:11 -04:00
Jeffrey Walton
f4d68353ca
Use AlignedDeallocate if T_Align16 in deallocate (GH #875 )
...
This should match the behavior of allocate
2019-09-27 12:00:08 -04:00
Jeffrey Walton
b444c02886
Remove unneeded size check (GH #875 )
2019-09-27 02:38:40 -04:00
Jeffrey Walton
0c82df181c
Update documentation
2019-08-31 07:46:19 -04:00
Jeffrey Walton
0661536bd6
Fix spelling
2019-02-06 01:23:27 -05:00
Marcel Raad
1a4b851ac1
Fix clang warnings (GH #771 )
2019-01-02 12:05:26 -05:00
Jeffrey Walton
e5085684ef
Fix missing SunCC Allocator::max_size(size_type) member function (GH #770 )
2019-01-01 17:56:26 -05:00
Jeffrey Walton
8d4103fb0c
Fix alignment on AIX (GH #745 )
2018-11-22 00:15:37 -05:00
Jeffrey Walton
6cf8895bf1
Add additional assert to FixedSizeAllocatorWithCleanup (GH #745 )
...
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
2018-11-21 23:04:00 -05:00
Jeffrey Walton
aa45eca561
Clear documentation warning due to specialization
...
The specialization pivoted on T_Align16 so it is not longer a template parameter
2018-08-28 21:27:48 -04:00
Jeffrey Walton
4fb9fbf5ac
Update comments
2018-08-24 12:19:42 -04:00