diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-09 12:04:28 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-09 12:04:28 -0400 |
commit | 36457361374f7dcef16ed619f4f4a979c97d6e1e (patch) | |
tree | 0327f4018a413d9ef191d3fb7845edda732ab957 /secblock.h | |
parent | 39a73282dda392a2bff4af87b4353a1de4b54157 (diff) | |
download | cryptopp-git-36457361374f7dcef16ed619f4f4a979c97d6e1e.tar.gz |
Update documentation for SecBlock
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -886,7 +886,7 @@ public: /// \param ptr a pointer to an array of T
/// \param len the number of elements in the memory block
/// \details The array pointed to by <tt>ptr</tt> must be distinct
- /// from this SecBlock because Assign() calls memcpy.
+ /// from this SecBlock because Assign() calls New() and memcpy.
/// \details If the memory block is reduced in size, then the reclaimed
/// memory is set to 0. If an assignment occurs, then Assign() resets
/// the element count after the previous block is zeroized.
@@ -938,7 +938,7 @@ public: /// \param len the number of elements in the memory block
/// \throw InvalidArgument if resulting size would overflow
/// \details The array pointed to by <tt>ptr</tt> must be distinct
- /// from this SecBlock because Append() calls memcpy.
+ /// from this SecBlock because Append() calls Grow() and memcpy.
/// \details Internally, this SecBlock calls Grow and then appends t.
/// \details Append() may be less efficient than a ByteQueue because
/// Append() must Grow() the internal array and then copy elements.
|