From 985702c892d94ac9656754b94402dee933abb156 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Nov 2018 13:47:44 +0100 Subject: [PATCH] tls: fix a thinko in GHASH optimization Signed-off-by: Denys Vlasenko --- networking/tls_aesgcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1