summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-24 14:22:34 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-24 14:22:34 -0500
commit0b70a5e733a96c56dafdc183cd35effddedac48a (patch)
tree3966aa8a28970b61b629d0e0e9225a8be261d733 /secblock.h
parent60aa3e7fe943c7bcc9e9af5c43561356369eb02f (diff)
downloadcryptopp-git-0b70a5e733a96c56dafdc183cd35effddedac48a.tar.gz
Update comments
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/secblock.h b/secblock.h
index 7140fa07..b59c431e 100644
--- a/secblock.h
+++ b/secblock.h
@@ -509,13 +509,13 @@ private:
//
// The 16-byte alignment is achieved by padding the requested
// size with extra elements so we have at least 16-bytes of slack
- // to work with. Then the pointer is moved down to achieve a
- // 16-byte alignment (stacks grow down).
+ // to work with. Then the array pointer is moved to achieve a
+ // 16-byte alignment.
//
// The additional 16-bytes introduces a small secondary issue.
// The secondary issue is, a large T results in 0 = 8/sizeof(T).
// The library is OK but users may hit it. So we need to guard
- // for a large T, and that is what PAD achieves.
+ // for a large T, and that is what the enum and PAD achieves.
T* GetAlignedArray() {
// m_array is aligned on 8 byte boundaries due to