summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-09 12:04:28 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-09 12:04:28 -0400
commit36457361374f7dcef16ed619f4f4a979c97d6e1e (patch)
tree0327f4018a413d9ef191d3fb7845edda732ab957 /secblock.h
parent39a73282dda392a2bff4af87b4353a1de4b54157 (diff)
downloadcryptopp-git-36457361374f7dcef16ed619f4f4a979c97d6e1e.tar.gz
Update documentation for SecBlock
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/secblock.h b/secblock.h
index ddcdb33e..4e9062d0 100644
--- a/secblock.h
+++ b/secblock.h
@@ -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.