diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-12-24 14:22:34 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-12-24 14:22:34 -0500 |
commit | 0b70a5e733a96c56dafdc183cd35effddedac48a (patch) | |
tree | 3966aa8a28970b61b629d0e0e9225a8be261d733 /secblock.h | |
parent | 60aa3e7fe943c7bcc9e9af5c43561356369eb02f (diff) | |
download | cryptopp-git-0b70a5e733a96c56dafdc183cd35effddedac48a.tar.gz |
Update comments
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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
|