Crypto Benchmark on RA4M3 MCU
ARM Cortex-M33 @ 100 MHz
This benchmark conducted on EK-RA4M3 Evaluation Kit for RA4M3 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 RA4M3 microcontroller.
RA4M3 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
RA4M3 @ 100 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.155 MB/s | 0.155 MB/s | - | - | - | - |
AES-128 | 0.889 MB/s | 0.882 MB/s | 0.445 MB/s | 0.456 MB/s | 0.443 MB/s | 0.452 MB/s |
AES-192 | 0.804 MB/s | 0.802 MB/s | 0.402 MB/s | 0.411 MB/s | 0.42 MB/s | 0.428 MB/s |
AES-256 | 0.734 MB/s | 0.736 MB/s | 0.366 MB/s | 0.374 MB/s | 0.401 MB/s | 0.408 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 9.606 MB/s | 9.523 MB/s | 8.156 MB/s | 7.77 MB/s | 8.375 MB/s | 8.21 MB/s |
AES-192 | 10.121 MB/s | 10.01 MB/s | 9.14 MB/s | 8.703 MB/s | 9.225 MB/s | 8.857 MB/s |
AES-256 | 9.38 MB/s | 9.285 MB/s | 8.695 MB/s | 8.298 MB/s | 8.748 MB/s | 8.467 MB/s |
Hash Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 5.376 MB/s | - |
SHA-1 | 1.337 MB/s | - |
SHA-224 | 0.911 MB/s | 28.653 MB/s |
SHA-256 | 0.911 MB/s | 28.735 MB/s |
SHA-384 | 0.463 MB/s | - |
SHA-512 | 0.463 MB/s | - |
SHA3-224 | 0.396 MB/s | - |
SHA3-256 | 0.374 MB/s | - |
SHA3-384 | 0.287 MB/s | - |
SHA3-512 | 0.2 MB/s | - |
Signature Algorithms
RA4M3 @ 100 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) | 231.9 ms | 36.6 ms |
RSA (2048 bits) | 1305.7 ms | 136.2 ms |
RSA (3072 bits) | 3837 ms | 292.9 ms |
RSA (4096 bits) | 8466.7 ms | 519.6 ms |
DSA (1024 bits) | 133.3 ms | 279.9 ms |
DSA (2048 bits) | 650.4 ms | 1376.6 ms |
DSA (3072 bits) | 1407.8 ms | 2992.9 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
RSA (1024 bits) | 133 ms | 1.6 ms |
RSA (2048 bits) | 133 ms | 1.6 ms |
RSA (3072 bits) | 476.2 ms | 40.2 ms |
RSA (4096 bits) | 614 ms | 51.6 ms |
EC Signature Algorithms
RA4M3 @ 100 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) | 451.4 ms | 573.7 ms |
ECDSA (P-384) | 859.9 ms | 1062.6 ms |
ECDSA (P-521) | 991.1 ms | 1176.3 ms |
EdDSA (Ed25519) | 99.1 ms | 196.1 ms |
EdDSA (Ed448) | 516 ms | 1035.2 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
ECDSA (P-256) | 18.7 ms | 29.2 ms |
ECDSA (P-384) | 31.9 ms | 48.8 ms |
Key Exchange Algorithms
RA4M3 @ 100 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) | 530.9 ms | 531.3 ms |
Diffie-Hellman (2048 bits) | 3779.7 ms | 3780.3 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
Diffie-Hellman (1024 bits) | 131.8 ms | 131.4 ms |
Diffie-Hellman (2048 bits) | 132.4 ms | 131.5 ms |
EC Key Exchange Algorithms
RA4M3 @ 100 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) | 442.6 ms | 441.7 ms |
ECDH (P-384) | 821 ms | 832.7 ms |
ECDH (P-521) | 982.3 ms | 979 ms |
ECDH (X25519) | 55.1 ms | 55.1 ms |
ECDH (X448) | 269 ms | 269 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
ECDH (P-256) | 20.8 ms | 20.7 ms |
ECDH (P-384) | 36.7 ms | 36.7 ms |