aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-11-24 13:47:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-11-24 13:47:44 +0100
commit985702c892d94ac9656754b94402dee933abb156 (patch)
tree0352c2d14161f86ee4295bf97ac35c423af05a7d
parent624066f0cce8acaf2feb973f24942883b0600a0b (diff)
downloadbusybox-985702c892d94ac9656754b94402dee933abb156.tar.gz
tls: fix a thinko in GHASH optimization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/tls_aesgcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c
index 84c90314f..b9a6a9b0a 100644
--- a/networking/tls_aesgcm.c
+++ b/networking/tls_aesgcm.c
@@ -87,7 +87,7 @@ static void GMULT(byte* X, byte* Y)
// Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes.
//
// This allows some simplifications.
-#define aSz AES_BLOCK_SIZE
+#define aSz 13
#define sSz AES_BLOCK_SIZE
void FAST_FUNC aesgcm_GHASH(byte* h,
const byte* a, //unsigned aSz,