summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-29 13:30:38 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-29 13:30:38 -0500
commit78c85f4d739064631ef36e4264af680daed5b55c (patch)
treebb726911c1099f820d99bb1e9926936fc8d7a909 /secblock.h
parent579a5c8a706cdb381bf99289f0885b53a9af773c (diff)
downloadcryptopp-git-78c85f4d739064631ef36e4264af680daed5b55c.tar.gz
Update comments
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/secblock.h b/secblock.h
index 9fa7fd86..779c2291 100644
--- a/secblock.h
+++ b/secblock.h
@@ -547,12 +547,13 @@ private:
#else
- // CRYPTOPP_BOOL_ALIGN16 is 0. The user likely compiled with
- // CRYPTOPP_DISABLE_ASM. Normally we would use the natural
- // alignment of T. The problem we are having is, some toolchains
- // are changing the boundary for 64-bit arrays. 64-bit elements
- // require 8-byte alignment, but the toolchain is laying the array
- // out on a 4 byte boundary. See GH #992 for mystery alignment:
+ // CRYPTOPP_BOOL_ALIGN16 is 0. If we are here then the user
+ // probably compiled with CRYPTOPP_DISABLE_ASM. Normally we
+ // would use the natural alignment of T. The problem we are
+ // having is, some toolchains are changing the boundary for
+ // 64-bit arrays. 64-bit elements require 8-byte alignment,
+ // but the toolchain is laying the array out on a 4 byte
+ // boundary. See GH #992 for mystery alignment,
// https://github.com/weidai11/cryptopp/issues/992
T* GetAlignedArray() {return m_array;}
CRYPTOPP_ALIGN_DATA(8) T m_array[S];
@@ -710,7 +711,7 @@ private:
// alignment of T. The problem we are having is, some toolchains
// are changing the boundary for 64-bit arrays. 64-bit elements
// require 8-byte alignment, but the toolchain is laying the array
- // out on a 4 byte boundary. See GH #992 for mystery alignment:
+ // out on a 4 byte boundary. See GH #992 for mystery alignment,
// https://github.com/weidai11/cryptopp/issues/992
T* GetAlignedArray() {return m_array;}
CRYPTOPP_ALIGN_DATA(8) T m_array[S];