Quest for Crypto Acceleration on the BeagleBone Black

According to the BeagleBone Black (BBB) system reference manual, the TI processor supports cryptographic acceleration of AES, SHA (1 I assume), MD5 and has a hardware RNG.  The performance with hardware acceleration is much better than just using the CPU.  To date, I do not know how to take advantage of the hardware in a user-space application, like OpenSSL.  In this post, I’ll document what I tried and hopefully I’ll either solve it later (look for a pingback below) or somebody will help post a solution!


I’m running a tor relay on my BBB, which establishes TLS connections that use AES and SHA according to the spec.  My relay runs at about 70% CPU usage and I’m hoping I can lower that with hardware acceleration.


Continue reading “Quest for Crypto Acceleration on the BeagleBone Black”