tls: if !ENABLE_FEATURE_TLS_SHA1, tls->MAC_size is always SHA256_OUTSIZE for AES-CBC
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 10 Dec 2018 15:43:53 +0000 (16:43 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 10 Dec 2018 15:43:53 +0000 (16:43 +0100)
commit63bfe0e4c0f3e14dc3a358bbb1ba59a1ade421e0
tree4e2eb36cbe8b811412158432b3c95f5bc4bb2612
parent71fa5b0a4c3cce55460de2f6d49e3a4a63f1b933
tls: if !ENABLE_FEATURE_TLS_SHA1, tls->MAC_size is always SHA256_OUTSIZE for AES-CBC

function                                             old     new   delta
tls_xread_record                                     634     636      +2
xwrite_encrypted                                     579     580      +1
tls_handshake                                       2095    2085     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 3/-10)              Total: -7 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls.c