tls: merge sha1 and sha256 hmac functions
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Apr 2017 15:43:44 +0000 (17:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Apr 2017 15:43:44 +0000 (17:43 +0200)
commit636c3b627cc964f65e5b38bb005d50f2841d6966
tree1869cd056bfbe1957732b146e9e7c51408abd976
parent6e99f1cb45621d36958fa97943074d9c5e2e9306
tls: merge sha1 and sha256 hmac functions

function                                             old     new   delta
hmac_begin                                             -     196    +196
hmac_sha256                                           61      68      +7
hmac                                                 250      87    -163
hmac_sha256_begin                                    190       -    -190
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 203/-353)         Total: -150 bytes

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