summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2018-11-23 19:00:12 +0100
committerDenys Vlasenko2018-11-23 19:00:12 +0100
commitd496b4002a944af5832b8589cbc5f967abaf3dc4 (patch)
tree5493543e49fb8e9a1c12f95c0897c36b11b4a9f9
parent25569c3ca987f37075e457d5203fb7b6c3d6ae84 (diff)
downloadbusybox-d496b4002a944af5832b8589cbc5f967abaf3dc4.zip
busybox-d496b4002a944af5832b8589cbc5f967abaf3dc4.tar.gz
tls: typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/tls_aesgcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c
index 360e6f4..a06f8c8 100644
--- a/networking/tls_aesgcm.c
+++ b/networking/tls_aesgcm.c
@@ -82,9 +82,9 @@ static void GMULT(byte* X, byte* Y)
}
//bbox:
-// for TLS AES-GCM, a (which as AAD) is always 13 bytes long, and bbox code provides
+// for TLS AES-GCM, a (which is AAD) is always 13 bytes long, and bbox code provides
// extra 3 zeroed bytes, making it a[16], or a[AES_BLOCK_SIZE].
-// Resulting auth tag in s is also always AES_BLOCK_SIZE bytes.
+// Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes.
//
// This allows some simplifications.
#define aSz AES_BLOCK_SIZE