Crypto Benchmark on ESP32-C6 MCU
RISC-V @ 160 MHz
This benchmark conducted on ESP32-C6-DevKitC-1 Development Board will help you in qualifying performance of CycloneCRYPTO (Cryptography library), CycloneSSL (TLS 1.3 & DTLS 1.2 library), CycloneSSH (SSH library with SCP & SFTP protocols), CycloneIPSEC (IPsec/IKEv2 library) and CycloneTCP (TCP/IPv4/IPv6 stack with secure protocols like HTTPS, FTPS, MQTTS, Secure WebSocket, Secure CoAP, Secure Modbus/TCP, SNMPv3...) running on Espressif ESP32-C6 microcontroller.
ESP32-C6 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.386 MB/s | 0.38 MB/s | - | - | - | - |
AES-128 | 1.43 MB/s | 1.416 MB/s | 0.738 MB/s | 0.738 MB/s | 0.874 MB/s | 0.873 MB/s |
AES-192 | 1.236 MB/s | 1.228 MB/s | 0.631 MB/s | 0.632 MB/s | 0.796 MB/s | 0.795 MB/s |
AES-256 | 1.088 MB/s | 1.083 MB/s | 0.552 MB/s | 0.552 MB/s | 0.731 MB/s | 0.73 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 4.504 MB/s | 4.405 MB/s | - | - | - | - |
AES-256 | 4.504 MB/s | 4.385 MB/s | - | - | - | - |
Hash Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 10.309 MB/s | - |
SHA-1 | 2.267 MB/s | 12.195 MB/s |
SHA-224 | 1.631 MB/s | 12.345 MB/s |
SHA-256 | 1.631 MB/s | 12.345 MB/s |
SHA-384 | 1.243 MB/s | - |
SHA-512 | 1.243 MB/s | - |
SHA3-224 | 0.773 MB/s | - |
SHA3-256 | 0.73 MB/s | - |
SHA3-384 | 0.56 MB/s | - |
SHA3-512 | 0.389 MB/s | - |
Signature Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 117 ms | 15 ms |
RSA (2048 bits) | 727 ms | 56 ms |
RSA (3072 bits) | 2246 ms | 121 ms |
DSA (1024 bits) | 74 ms | 144 ms |
DSA (2048 bits) | 370 ms | 753 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
RSA (1024 bits) | 32 ms | 10 ms |
RSA (2048 bits) | 146 ms | 39 ms |
RSA (3072 bits) | 377 ms | 83 ms |
DSA (1024 bits) | 27 ms | 53 ms |
EC Signature Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 272 ms | 336 ms |
ECDSA (P-384) | 504 ms | 605 ms |
ECDSA (P-521) | 557 ms | 686 ms |
EdDSA (Ed25519) | 59 ms | 115 ms |
EdDSA (Ed448) | 262 ms | 522 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
EdDSA (Ed25519) | 74 ms | 147 ms |
EdDSA (Ed448) | 227 ms | 452 ms |
Key Exchange Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 321 ms | 321 ms |
Diffie-Hellman (2048 bits) | 2394 ms | 2393 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
Diffie-Hellman (1024 bits) | 40 ms | 39 ms |
Diffie-Hellman (2048 bits) | 257 ms | 257 ms |
EC Key Exchange Algorithms
ESP32-C6 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.2.4
- • Compiled using GCC with optimization level 2
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 270 ms | 268 ms |
ECDH (P-384) | 470 ms | 469 ms |
ECDH (P-521) | 541 ms | 547 ms |
ECDH (X25519) | 32 ms | 33 ms |
ECDH (X448) | 135 ms | 134 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
ECDH (X25519) | 42 ms | 41 ms |
ECDH (X448) | 117 ms | 117 ms |