From: Denys Vlasenko Date: Sat, 24 Nov 2018 12:47:44 +0000 (+0100) Subject: tls: fix a thinko in GHASH optimization X-Git-Tag: 1_30_0~380 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=985702c892d94ac9656754b94402dee933abb156;p=oweals%2Fbusybox.git tls: fix a thinko in GHASH optimization Signed-off-by: Denys Vlasenko --- 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,