busybox/networking
Denys Vlasenko f92ae1dc4b tls: P256: change logic so that we don't need double-wide vectors everywhere
Change sp_256to512z_mont_{mul,sqr}_8 to not require/zero upper 256 bits.
There is only one place where we actually used that (and that's why there
used to be zeroing memset of top half!). Fix up that place.
As a bonus, 256x256->512 multiply no longer needs to care for
"r overlaps a or b" case.

This shrinks sp_point structure as well, not just temporaries.

function                                             old     new   delta
sp_256to512z_mont_mul_8                              150       -    -150
sp_256_mont_mul_8                                      -     147    +147
sp_256to512z_mont_sqr_8                                7       -      -7
sp_256_mont_sqr_8                                      -       7      +7
sp_256_ecc_mulmod_8                                  494     543     +49
sp_512to256_mont_reduce_8                            243     249      +6
sp_256_point_from_bin2x32                             73      70      -3
sp_256_proj_point_dbl_8                              353     345      -8
sp_256_proj_point_add_8                              544     499     -45
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 2/3 up/down: 209/-213)           Total: -4 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-11-27 19:27:03 +01:00
..
libiproute ip: added support for setting netns on devices 2021-10-07 23:24:56 +02:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
ssl_helper-wolfssl Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
udhcp udhcp: add comments, no code changes 2021-09-04 01:50:42 +02:00
arp.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
arping.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
brctl.c *: add NOINLINEs where code noticeably shrinks 2021-10-10 13:50:53 +02:00
Config.src config system: move some options closer to relevalnt tool subdirectories 2021-10-12 13:23:29 +02:00
dnsd.c dnsd: check that we don't read past packet 2021-02-22 15:36:07 +01:00
ether-wake.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
ftpd.c *: more --help tweaks 2021-06-16 14:24:27 +02:00
ftpgetput.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
hostname.c more --help text tweaks 2020-12-13 19:18:28 +01:00
httpd_helpers.sh Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
httpd_indexcgi.c httpd_indexcgi.c: use CSS for odd/even rows 2020-07-31 18:14:54 +02:00
httpd_post_upload.cgi httpd_post_upload.cgi: use mktemp to avoid $RANDOM 2021-06-06 13:44:08 +02:00
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c httpd: if range is not specified, correctly fall back to read/write loop 2021-10-08 15:41:08 +02:00
ifconfig.c help text tweaks 2020-12-13 19:04:19 +01:00
ifenslave.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
ifplugd.c help: s/Don't daemonize/Run in foreground/g 2021-10-08 15:02:53 +02:00
ifupdown.c help text tweaks 2020-12-18 04:12:51 +01:00
inetd.c inetd: deinline machtime() - gcc gets it wrong 2021-04-24 12:06:03 +02:00
interface.c decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
ip.c ip: added support for setting netns on devices 2021-10-07 23:24:56 +02:00
ipcalc.c help text: replace [OPTIONS] with actual options (if not too long) 2020-12-13 22:34:05 +01:00
isrv_identd.c config: update size information 2018-12-28 03:20:17 +01:00
isrv.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nameif.c *: more --help tweaking 2021-06-13 03:51:55 +02:00
nbd-client.c libbb: introduce and use sleep1() 2020-11-29 11:37:34 +01:00
nc_bloaty.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
nc.c libbb: make bb_lookup_port() abort on bad port names 2021-09-09 22:00:44 +02:00
netstat.c decrease padding: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 14:58:02 +01:00
nslookup.c *: add NOINLINEs where code noticeably shrinks 2021-10-10 13:50:53 +02:00
ntpd.c *: add NOINLINEs where code noticeably shrinks 2021-10-10 13:50:53 +02:00
ntpd.diff ntpd: add experimental patch 2016-03-04 07:36:04 +01:00
parse_pasv_epsv.c networking: support ftp PASV responses not ending with ')' 2020-07-19 20:59:35 +02:00
ping.c Fix ping build on the FreeBSD 2021-01-04 13:28:28 +01:00
pscan.c help text tweaks, mainly expanding one for route 2020-12-18 23:33:19 +01:00
route.c route: code shrink 2020-12-19 00:07:13 +01:00
slattach.c libbb: introduce and use sleep1() 2020-11-29 11:37:34 +01:00
ssl_client.c config: update size information 2018-12-28 03:20:17 +01:00
tc.c tc: fix for parsing of "dev IFACE" and printing of "class list" 2021-07-11 14:50:04 +02: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 tcp/udpsvd: robustify SIGCHLD handling 2021-06-05 15:24:04 +02:00
telnet.c randomconfig fixes 2020-12-29 16:53:11 +01:00
telnetd.c httpd,telnetd: make default port configurable 2021-09-09 21:42:48 +02:00
telnetd.ctrlSQ.patch *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c telnetd: give inetd.conf example in --help 2021-06-16 10:49:18 +02:00
tls_aes.c tls: code shrink in AES code 2020-12-15 18:47:25 +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 suppress a few "unused function" warnings 2019-10-25 13:05:15 +02:00
tls_aesgcm.h tls: in AES-GCM decoding, avoid memmove 2018-11-24 13:51:46 +01:00
tls_fe.c tls: code shrink curve25519 2021-10-11 16:31:47 +02:00
tls_pstm_montgomery_reduce.c tls: further reduce register pressure in i386 assembly 2021-04-20 19:03:55 +02:00
tls_pstm_mul_comba.c networking: cc is not a register 2019-05-17 22:56:47 +02:00
tls_pstm_sqr_comba.c networking: cc is not a register 2019-05-17 22:56:47 +02:00
tls_pstm.c tls: whitespace fixes 2021-04-27 00:40:40 +02:00
tls_pstm.h whitespace fix 2021-10-11 19:11:06 +02:00
tls_rsa.c tls: whitespace fixes 2021-04-27 00:40:40 +02:00
tls_rsa.h tls: do not leak RSA key 2018-11-25 16:17:26 +01:00
tls_sp_c32.c tls: P256: change logic so that we don't need double-wide vectors everywhere 2021-11-27 19:27:03 +01:00
tls.c tls: tweak debug printout 2021-11-27 12:03:43 +01:00
tls.h tls: remove unused tls_symmetric.h (was used by old "big" AES code) 2021-10-11 13:46:30 +02:00
traceroute.c traceroute: fix compile error due to FreeBSD compat 2021-08-15 20:06:52 +02:00
tunctl.c help text tweaks 2020-12-18 04:12:51 +01:00
vconfig.c *: --help tweaks 2021-06-13 01:08:48 +02:00
wget.c wget: implement --post-file 2021-10-01 14:55:18 +02:00
whois.c whois: limit total length of response to 32+2 kb 2019-12-03 14:52:17 +01:00
zcip.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00