Cryptographic performance

Cryptographic algorithms are complex mathematical formulas that require powerful microprocessors and good entropy (random data). The more advanced and complex an algorithm is, the more complex calculation will become. Older, slower processors will take substantially longer than newer and faster processors.

Library differences

Both OpenSSL and mbed TLS are constantly making improvements to both security and performance. While writing this book, I was using my MacBook Pro with the latest version of macOS (10.12.2) and I was going to show performance numbers for the AES cipher set using the openssl speed -evp aes-128-cbc command. The purpose is to show a reproducible performance metric on various platforms.

As you can see ...

Get Troubleshooting OpenVPN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.