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
..
libiproute ioctl(SIOCGIFINDEX) does not require clearing of entire ifr 2018-03-27 23:55:43 +02:00
ssl_helper
ssl_helper-wolfssl
udhcp udhcpc: code shrink 2018-11-03 23:34:35 +01:00
arp.c
arping.c arping: code shrink 2018-02-11 21:16:24 +01:00
brctl.c brctl: use a single buffer for brname and ifname 2018-10-01 22:45:36 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
dnsd.c
ether-wake.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ftpd.c ftpd: allow -A if !FTPD_AUTHENTICATION as well 2018-04-07 14:18:42 +02:00
ftpgetput.c wget,ftpd: shorten and reuse strings 2018-04-07 13:22:52 +02:00
hostname.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
httpd_helpers.sh
httpd_indexcgi.c
httpd_post_upload.cgi
httpd_ssi.c
httpd.c httpd: do not default to Content-type: application/octet-stream 2018-04-07 01:13:30 +02:00
ifconfig.c networking/interface.c: get rid of global "smallint interface_opt_a" 2018-03-05 17:46:17 +01:00
ifenslave.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
ifplugd.c ifplugd: close signal race 2018-04-29 13:46:49 +02:00
ifupdown.c ifupdown: support "source-directory" stanza 2018-09-30 13:23:05 +02:00
inetd.c inetd,mount: add comment with example of flags to build with libtirpc 2018-02-13 18:20:28 +01:00
interface.c networking/interface.c: get rid of global data 2018-03-05 18:30:33 +01:00
ip.c ip: tweak --help text 2018-08-14 11:19:09 +02:00
ipcalc.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
isrv_identd.c libbb: new option FEATURE_ETC_SERVICES: if off, /etc/services reads often avoided 2018-04-17 12:43:54 +02:00
isrv.c
isrv.h
Kbuild.src
nameif.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
nbd-client.c nbd-client: support newstyle protocol, -b, -d, -p, -N 2018-10-24 15:52:04 +02:00
nc_bloaty.c nc: fix the !NC_SERVER configuration 2018-05-24 16:38:40 +02:00
nc.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
netstat.c netstat: produce numeric-ip output for non-resolved names 2018-03-27 23:28:53 +02:00
nslookup.c nslookup: add support for search domains, closes 11161 2018-08-01 19:42:46 +02:00
ntpd.c ntpd: default to FEATURE_NTP_AUTH=y 2018-10-30 23:07:26 +01:00
ntpd.diff
parse_pasv_epsv.c fix a thinko in parse_pasv_epsv.c 2018-02-06 17:11:15 +01:00
ping.c ping: use setitimer() instead of ualarm() 2018-08-25 19:36:06 +02:00
pscan.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
route.c ioctl(SIOCGIFINDEX) does not require clearing of entire ifr 2018-03-27 23:55:43 +02:00
slattach.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ssl_client.c ssl_client: fix option parsing 2018-03-20 11:41:51 +01:00
tc.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01:00
tcpudp_perhost.c tcpudp: shrink per-host rate-limiting code 2018-02-27 13:03:44 +01:00
tcpudp_perhost.h tcpudp: shrink per-host rate-limiting code 2018-02-27 13:03:44 +01:00
tcpudp.c tcpsvd: fix fallout from opt_complementary removal 2018-03-11 23:02:50 +01:00
telnet.c libbb: new option FEATURE_ETC_SERVICES: if off, /etc/services reads often avoided 2018-04-17 12:43:54 +02:00
telnetd.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh
tftp.c randomconfig fixes 2017-12-31 17:30:02 +01:00
tls_aes.c tls: in AES-CBC code, do not set key for every record - do it once 2018-11-23 18:02:44 +01:00
tls_aes.h tls: in AES-CBC code, do not set key for every record - do it once 2018-11-23 18:02:44 +01:00
tls_aesgcm.c tls: in AES-CBC code, do not set key for every record - do it once 2018-11-23 18:02:44 +01:00
tls_aesgcm.h tls: in AES-CBC code, do not set key for every record - do it once 2018-11-23 18:02:44 +01:00
tls_fe.c tls: add support for TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 cipher 2018-11-23 17:48:07 +01:00
tls_fe.h tls: add support for TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 cipher 2018-11-23 17:48:07 +01:00
tls_pstm_montgomery_reduce.c
tls_pstm_mul_comba.c
tls_pstm_sqr_comba.c
tls_pstm.c
tls_pstm.h
tls_rsa.c tls: add support for TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 cipher 2018-11-23 17:48:07 +01:00
tls_rsa.h tls: add support for TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 cipher 2018-11-23 17:48:07 +01:00
tls_symmetric.h
tls.c tls: in AES-CBC code, do not set key for every record - do it once 2018-11-23 18:02:44 +01:00
tls.h tls: add support for TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 cipher 2018-11-23 17:48:07 +01:00
traceroute.c Fix build failures if MAXHOSTNAMELEN or MAXPATHLEN is not defined 2017-10-31 15:59:19 +01:00
tunctl.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
vconfig.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
wget.c tls: code shrink 2018-11-14 11:35:36 +01:00
whois.c whois: fix a possible out-of-bounds stack access 2018-09-04 14:48:00 +02:00
zcip.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00