Comment

Comment by Sohcahtoa82

> Opening an encrypted connection means one very large multiplication. On a 4.77 MHz 8088 it takes minutes.

I've done it.

It took a lot of loop unrolling and optimizations in order to get the TLS 1.2 handshake to complete before the server timed out the connection, but I've successfully gotten it to work, and with only 384 KB of RAM.

The implementation doesn't verify the server certificate (would certainly take too long), but it successfully performs an HTTPS request to Wikipedia as a proof-of-concept.

One of these days I'll clean up the code and post it here.

parent Sohcahtoa82 2 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton