busybox/networking
Denys Vlasenko 5e4236d226 tls: in AES-CBC code, do not set key for every record - do it once
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>
2018-11-23 18:02:44 +01:00
..
2018-11-03 23:34:35 +01:00
2017-07-21 09:50:55 +02:00
2018-02-11 21:16:24 +01:00
2017-07-21 09:50:55 +02:00
2018-04-29 13:46:49 +02:00
2018-08-14 11:19:09 +02:00
2017-08-08 21:55:02 +02:00
2018-10-30 23:07:26 +01:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2018-03-20 11:41:51 +01:00
2018-02-08 08:42:37 +01:00
2017-08-08 21:55:02 +02:00
2017-12-31 17:30:02 +01:00
2017-04-03 21:53:29 +02:00
2017-08-08 21:55:02 +02:00
2018-11-14 11:35:36 +01:00