TLS library (for secure https)

I have tested some (AES, MD5, SHA, bignumber, entropy) of the mbed TLS on the teensy 3* series, see
https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=108621&viewfull=1#post108621
It would be interesting to modify the TLS to utilize the teensy K66/K64 crypto-acceleration unit (CAU)

In testing NXP 1052 (teensy 4 pre-beta), I encountered NXP's wolfssl lib in their SDK along with mbedtls. The NXP libs have provided access to the crypto-acceleration hardware on the T3.5/T3.6 and the new Teensy 4 to speed up AES and SHA. Here is reference describing how to port the wolfssl lib to Arduino. I ported wolfssl and tested on Teensy 3* (though this port does not include support for the crypto-hardware).
Code:
wolfssl tests  Faster
           T3.2@120mhz  T3.5@120mhz  T3.6@180mhz  1052@600mhz 
MD5          4551 KBs     6243         11906 KBs     15 MBs   
SHA256       1321         1825          2934 KBs     93 MBs with DCP acceleration
RC4          5145         5197          7757 KBs     36 MBs
AESCBC        646          870          2522 KBs     62 MBs with DCP acceleration
100!         1274 us      1145           551 us     253 us
wolfssl github
 
Last edited:
Back
Top