Cryptographic benchmarks on the new Apple M1

wolfSSL is up and running and tested on Apple’s new M1 chip, and with the right options it is blazing fast! We have decided to benchmark our wolfCrypt/wolfSSL libraries on the Apple M1, to show you just how well the the M1 will perform in our standard cryptographic benchmarks.

See below for more details!

AlgorithmStockFPECCTunedunits
AES-128-CBC-enc293.883290.9481398.339MB/s
AES-128-CBC-dec373.651370.74613249.163MB/s
AES-192-CBC-enc254.407252.171262.787MB/s
AES-192-CBC-dec309.909299.73410647.85MB/s
AES-256-CBC-enc222.387217.4931089.026MB/s
AES-256-CBC-dec262.953256.2818721.781MB/s
AES-128-GCM-enc179.345174.9431747.438MB/s
AES-128-GCM-dec178.981172.858916.025MB/s
AES-192-GCM-enc162.299162.2081741.425MB/s
AES-192-GCM-dec162.174159.531918.173MB/s
AES-256-GCM-enc149.777145.5031737.536MB/s
AES-256-GCM-dec149.824147.596916.683MB/s
GMAC Table 4-bit349.384347.8431133.42MB/s
CHACHA634.519627.3551610.471MB/s
POLY13052033.2012041.0163875.21MB/s
CHA-POLY467.391460.9271159.885MB/s
RNG94.61592.271824.593MB/s
SHA1698.103721.239740.663MB/s
SHA2-224203.827205.5592342.624MB/s
SHA2-256205.875205.7472345.45MB/s
SHA2-384490.398493.513469.233MB/s
SHA2-512498.631495.535472.364MB/s
SHA3-224575.71570.766535.922MB/s
SHA3-256543.394540.197517.069MB/s
SHA3-384410.624412.87400.126MB/s
SHA3-512279.388285.977282.751MB/s
HMAC-MD5498.966508.38511.853MB/s
HMAC-SHA1721.945735.642714.138MB/s
HMAC-SHA2-224205.603205.8922320.677MB/s
HMAC-SHA2-256205.961205.7912350.719MB/s
HMAC-SHA2-384498.012494.334465.534MB/s
HMAC-SHA2-512498.887496.538456.999MB/s
RSA 2048 public19270.45819386.08361480.153ops/sec
RSA 2048 private310.831312.8181855.512ops/sec
DH 2048 agree1032.4021019.9013984.282ops/sec
ECDHE P-256 agree1627.5512351.7322747.658ops/sec
ECDSA P-256 sign1570.6059734.15640588.639ops/sec
ECDSA P-256 verify2388.1269321.69822289.143ops/sec
ECC P-256 key gen1613.47611507.20464141.471ops/sec
DH 2048 key gen2042.7262059.9964098.742ops/sec

If you have questions on these benchmarks, or if you would like some support to help replicate them on your system, let us know at facts@wolfSSL.com or give us a call!