Crypto Benchmark on RA6M3 MCU
ARM Cortex-M4 @ 120 MHz
This benchmark conducted on EK-RA6M3 Evaluation Kit for RA6M3 MCU Group 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 Renesas RA6M3 microcontroller.
RA6M3 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.208 MB/s | 0.207 MB/s | - | - | - | - |
AES-128 | 1.2 MB/s | 1.17 MB/s | 0.62 MB/s | 0.621 MB/s | 0.649 MB/s | 0.644 MB/s |
AES-192 | 1.049 MB/s | 1.025 MB/s | 0.537 MB/s | 0.537 MB/s | 0.599 MB/s | 0.595 MB/s |
AES-256 | 0.931 MB/s | 0.912 MB/s | 0.475 MB/s | 0.475 MB/s | 0.56 MB/s | 0.556 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 18.018 MB/s | 17.793 MB/s | 16.077 MB/s | 15.267 MB/s | 16.051 MB/s | 15.552 MB/s |
AES-192 | 19.607 MB/s | 19.379 MB/s | 17.094 MB/s | 16.155 MB/s | 17.301 MB/s | 16.666 MB/s |
AES-256 | 17.605 MB/s | 17.421 MB/s | 15.923 MB/s | 15.06 MB/s | 16.025 MB/s | 15.479 MB/s |
Hash Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 8.291 MB/s | - |
SHA-1 | 1.794 MB/s | - |
SHA-224 | 1.257 MB/s | 42.553 MB/s |
SHA-256 | 1.257 MB/s | 42.553 MB/s |
SHA-384 | 0.711 MB/s | - |
SHA-512 | 0.711 MB/s | - |
SHA3-224 | 0.709 MB/s | - |
SHA3-256 | 0.671 MB/s | - |
SHA3-384 | 0.514 MB/s | - |
SHA3-512 | 0.357 MB/s | - |
Signature Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 149.8 ms | 25.4 ms |
RSA (2048 bits) | 813.2 ms | 94.1 ms |
RSA (3072 bits) | 2346.3 ms | 201.5 ms |
RSA (4096 bits) | 5123.8 ms | 357.3 ms |
DSA (1024 bits) | 85.9 ms | 181.7 ms |
DSA (2048 bits) | 406.5 ms | 867.8 ms |
DSA (3072 bits) | 876.1 ms | 1880.9 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
RSA (1024 bits) | 111.2 ms | 1.2 ms |
RSA (2048 bits) | 111.2 ms | 1.2 ms |
RSA (3072 bits) | 547.1 ms | 201.6 ms |
RSA (4096 bits) | 793.8 ms | 357.4 ms |
EC Signature Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 292.9 ms | 372.3 ms |
ECDSA (P-384) | 563.9 ms | 698.3 ms |
ECDSA (P-521) | 634.3 ms | 752.2 ms |
EdDSA (Ed25519) | 77.2 ms | 152.2 ms |
EdDSA (Ed448) | 387 ms | 770.6 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
ECDSA (P-256) | 0.8 ms | 1.5 ms |
ECDSA (P-384) | 4.8 ms | 9.3 ms |
Key Exchange Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 320.9 ms | 321.1 ms |
Diffie-Hellman (2048 bits) | 2243.2 ms | 2243.4 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
Diffie-Hellman (1024 bits) | 110.1 ms | 110 ms |
Diffie-Hellman (2048 bits) | 110.3 ms | 110 ms |
EC Key Exchange Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 285.9 ms | 285.4 ms |
ECDH (P-384) | 538.6 ms | 547.3 ms |
ECDH (P-521) | 627.7 ms | 625.2 ms |
ECDH (X25519) | 42.3 ms | 42.3 ms |
ECDH (X448) | 196.2 ms | 196.3 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
ECDH (P-256) | 13.9 ms | 13.9 ms |
ECDH (P-384) | 25.2 ms | 25.2 ms |