projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624066f
)
tls: fix a thinko in GHASH optimization
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 24 Nov 2018 12:47:44 +0000
(13:47 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 24 Nov 2018 12:47:44 +0000
(13:47 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls_aesgcm.c
patch
|
blob
|
history
diff --git
a/networking/tls_aesgcm.c
b/networking/tls_aesgcm.c
index 84c90314f1849159505f33e90c48bee02e39ec71..b9a6a9b0a7133bcee1600fcc69e2ea0f07288728 100644
(file)
--- 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,