busybox/networking
Denys Vlasenko 11d0096516 tls: format and send CLIENT_KEY_EXCHANGE
$ ./busybox tls kernel.org
insize:0 tail:0
got block len:74
got HANDSHAKE
got SERVER_HELLO
insize:79 tail:4265
got block len:4392
got HANDSHAKE
got CERTIFICATE
entered der @0x8b217a7:0x30 len:1452 inner_byte @0x8b217ab:0x30
entered der @0x8b217ab:0x30 len:1172 inner_byte @0x8b217af:0xa0
skipped der 0xa0, next byte 0x02
skipped der 0x02, next byte 0x30
skipped der 0x30, next byte 0x30
skipped der 0x30, next byte 0x30
skipped der 0x30, next byte 0x30
skipped der 0x30, next byte 0x30
entered der @0x8b218b4:0x30 len:418 inner_byte @0x8b218b8:0x30
skipped der 0x30, next byte 0x03
entered der @0x8b218c7:0x03 len:399 inner_byte @0x8b218cb:0x00
key bytes:399, first:0x00
entered der @0x8b218cc:0x30 len:394 inner_byte @0x8b218d0:0x02
binary bytes:385, first:0x00
skipped der 0x02, next byte 0x02
binary bytes:3, first:0x01
server_rsa_pub_key.size:384
insize:4397 tail:9
got block len:4
got SERVER_HELLO_DONE
insize:9 tail:0
^C

Next step: send CHANGE_CIPHER_SPEC... and actually implement it.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-01-15 00:12:42 +01:00
..
libiproute fix breakage found by mass one-applet builds 2016-12-23 02:42:26 +01:00
ssl_helper
ssl_helper-wolfssl Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
udhcp Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
arp.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
arping.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
brctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
Config.src Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS 2017-01-03 12:29:52 +01:00
dnsd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ether-wake.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ftpd.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
ftpgetput.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
hostname.c dnsdomainname: split it from "hostname", make it independently selectable 2016-11-13 22:35:10 +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_post_upload.cgi Make POST upload example script easier to use 2016-12-22 15:33:11 +01:00
httpd_ssi.c
httpd.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
ifconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifenslave.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifplugd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifupdown.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
inetd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
interface.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
ip.c ip: make ip aliases individually selectable 2016-12-22 22:30:13 +01:00
ipcalc.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
isrv_identd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
isrv.c
isrv.h
Kbuild.src Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nameif.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nbd-client.c
nc_bloaty.c
nc.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
netstat.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
nslookup.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ntpd.c ntpd: improve postponed hostname resolution 2017-01-06 16:21:09 +01:00
ntpd.diff
ping.c Make ping6 and traceroute6 selectable independently from ping/traceroute 2016-11-23 09:25:57 +01:00
pscan.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
route.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
slattach.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
tc.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c tcpudp: define SO_ORIGINAL_DST directly, not via include 2017-01-02 10:46:08 +01:00
telnet.c Move FEATURE_AUTOWIDTH config option to two applets which use it 2017-01-11 16:35:52 +01:00
telnetd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
tls_pstm_montgomery_reduce.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_pstm_mul_comba.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_pstm_sqr_comba.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_pstm.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_pstm.h tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_rsa.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls_rsa.h tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls.c tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
tls.h tls: format and send CLIENT_KEY_EXCHANGE 2017-01-15 00:12:42 +01:00
traceroute.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
tunctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
vconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
wget.c wget: fix for brain-damaged HTTP servers. Closes 9471 2017-01-11 20:16:45 +01:00
whois.c
zcip.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00