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:
d496b40
)
tls: code shrink
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 23 Nov 2018 18:07:05 +0000
(19:07 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 23 Nov 2018 18:07:05 +0000
(19:07 +0100)
function old new delta
aesgcm_GHASH 262 233 -29
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 a06f8c8c5f84e3d51ef2025fdce5b18960230e69..84c90314f1849159505f33e90c48bee02e39ec71 100644
(file)
--- a/
networking/tls_aesgcm.c
+++ b/
networking/tls_aesgcm.c
@@
-130,9
+130,10
@@
void FAST_FUNC aesgcm_GHASH(byte* h,
c += AES_BLOCK_SIZE;
}
if (partial != 0) {
- XMEMSET(scratch, 0, AES_BLOCK_SIZE);
- XMEMCPY(scratch, c, partial);
- xorbuf(x, scratch, AES_BLOCK_SIZE);
+ //XMEMSET(scratch, 0, AES_BLOCK_SIZE);
+ //XMEMCPY(scratch, c, partial);
+ //xorbuf(x, scratch, AES_BLOCK_SIZE);
+ xorbuf(x, c, partial);
GMULT(x, h);
}
}