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
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.386 MB/s0.38 MB/s----
AES-1281.43 MB/s1.416 MB/s0.738 MB/s0.738 MB/s0.874 MB/s0.873 MB/s
AES-1921.236 MB/s1.228 MB/s0.631 MB/s0.632 MB/s0.796 MB/s0.795 MB/s
AES-2561.088 MB/s1.083 MB/s0.552 MB/s0.552 MB/s0.731 MB/s0.73 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-1284.504 MB/s4.405 MB/s----
AES-2564.504 MB/s4.385 MB/s----

Hash Algorithms

ESP32-C6 @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 2
AlgorithmSpeed (Software)Speed (Hardware)
MD510.309 MB/s-
SHA-12.267 MB/s12.195 MB/s
SHA-2241.631 MB/s12.345 MB/s
SHA-2561.631 MB/s12.345 MB/s
SHA-3841.243 MB/s-
SHA-5121.243 MB/s-
SHA3-2240.773 MB/s-
SHA3-2560.73 MB/s-
SHA3-3840.56 MB/s-
SHA3-5120.389 MB/s-

Signature Algorithms

ESP32-C6 @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 2
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)117 ms15 ms
RSA (2048 bits)727 ms56 ms
RSA (3072 bits)2246 ms121 ms
DSA (1024 bits)74 ms144 ms
DSA (2048 bits)370 ms753 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)32 ms10 ms
RSA (2048 bits)146 ms39 ms
RSA (3072 bits)377 ms83 ms
DSA (1024 bits)27 ms53 ms

EC Signature Algorithms

ESP32-C6 @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 2
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)272 ms336 ms
ECDSA (P-384)504 ms605 ms
ECDSA (P-521)557 ms686 ms
EdDSA (Ed25519)59 ms115 ms
EdDSA (Ed448)262 ms522 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
EdDSA (Ed25519)74 ms147 ms
EdDSA (Ed448)227 ms452 ms

Key Exchange Algorithms

ESP32-C6 @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 2
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)321 ms321 ms
Diffie-Hellman (2048 bits)2394 ms2393 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)40 ms39 ms
Diffie-Hellman (2048 bits)257 ms257 ms

EC Key Exchange Algorithms

ESP32-C6 @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 2
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)270 ms268 ms
ECDH (P-384)470 ms469 ms
ECDH (P-521)541 ms547 ms
ECDH (X25519)32 ms33 ms
ECDH (X448)135 ms134 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (X25519)42 ms41 ms
ECDH (X448)117 ms117 ms