busybox/networking/tls_aesgcm.h
Denys Vlasenko 941440cf16 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>
2018-11-24 13:51:46 +01:00

12 lines
251 B
C

/*
* Copyright (C) 2018 Denys Vlasenko
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
void aesgcm_GHASH(uint8_t* h,
const uint8_t* a, //unsigned aSz,
const uint8_t* c, unsigned cSz,
uint8_t* s //, unsigned sSz
) FAST_FUNC;