Explore TLS acceleration
Currently, using HTTPS on the Amiga is no fun. Every request with IBrowse takes ~30 seconds, even on a 68060/50. We should look into implementing AES (?) encryption/decryption on the ARM.
The first task is to make a list of the most compute intense tasks when making a HTTPS connection.
To this end, lets write a simple C program that uses OpenSSL library and times all operations involved in making a TLS connection to a server and receiving some data.
See also:
- https://en.wikipedia.org/wiki/Transport_Layer_Security#Cipher
- https://en.wikipedia.org/wiki/CCM_mode
- https://en.wikipedia.org/wiki/Galois/Counter_Mode
- https://github.com/SpinalHDL/buildroot-spinal-saxon/blob/main/patches/libressl/0000-vexriscv-aes.patch
What we don't know: is accelerating AES GCM/CCM enough, or is the key exchange also very slow?
Edited by minute