5e4236d226
function old new delta aes_setkey 16 212 +196 tls_handshake 1941 1977 +36 aes_encrypt_1 382 396 +14 xwrite_encrypted 605 604 -1 tls_xread_record 659 656 -3 aes_encrypt_one_block 65 59 -6 aes_cbc_encrypt 172 121 -51 aesgcm_setkey 58 - -58 aes_cbc_decrypt 958 881 -77 KeyExpansion 188 - -188 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 3/5 up/down: 246/-384) Total: -138 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 lines
315 B
C
14 lines
315 B
C
/*
|
|
* Copyright (C) 2018 Denys Vlasenko
|
|
*
|
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
|
*/
|
|
|
|
void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC;
|
|
|
|
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;
|