diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-11-24 13:51:46 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-11-24 13:51:46 +0100 |
commit | 941440cf166ef77ad82c4ead9eae3a8a2552a418 (patch) | |
tree | d97607a0d7515ff412dff5b1aa82681569a89b8a /networking/tls_aesgcm.h | |
parent | 985702c892d94ac9656754b94402dee933abb156 (diff) | |
download | busybox-w32-941440cf166ef77ad82c4ead9eae3a8a2552a418.tar.gz busybox-w32-941440cf166ef77ad82c4ead9eae3a8a2552a418.tar.bz2 busybox-w32-941440cf166ef77ad82c4ead9eae3a8a2552a418.zip |
tls: in AES-GCM decoding, avoid memmove
function old new delta
xorbuf3 - 36 +36
xorbuf 24 12 -12
tls_xread_record 656 634 -22
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 36/-34) Total: 2 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_aesgcm.h')
-rw-r--r-- | networking/tls_aesgcm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/tls_aesgcm.h b/networking/tls_aesgcm.h index 75694f3fa..d7e672e6e 100644 --- a/networking/tls_aesgcm.h +++ b/networking/tls_aesgcm.h | |||
@@ -4,8 +4,6 @@ | |||
4 | * Licensed under GPLv2, see file LICENSE in this source tree. | 4 | * Licensed under GPLv2, see file LICENSE in this source tree. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC; | ||
8 | |||
9 | void aesgcm_GHASH(uint8_t* h, | 7 | void aesgcm_GHASH(uint8_t* h, |
10 | const uint8_t* a, //unsigned aSz, | 8 | const uint8_t* a, //unsigned aSz, |
11 | const uint8_t* c, unsigned cSz, | 9 | const uint8_t* c, unsigned cSz, |