Crypto Benchmark on RA4M1 MCU
ARM Cortex-M4 @ 48 MHz
This benchmark conducted on EK-RA4M1 Evaluation Kit for RA4M1 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 RA4M1 microcontroller.
RA4M1 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
RA4M1 @ 48 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.088 MB/s | 0.088 MB/s | - | - | - | - |
AES-128 | 0.494 MB/s | 0.479 MB/s | 0.263 MB/s | 0.263 MB/s | 0.279 MB/s | 0.278 MB/s |
AES-192 | 0.431 MB/s | 0.419 MB/s | 0.226 MB/s | 0.226 MB/s | 0.256 MB/s | 0.256 MB/s |
AES-256 | 0.382 MB/s | 0.371 MB/s | 0.199 MB/s | 0.199 MB/s | 0.238 MB/s | 0.238 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 8.223 MB/s | 8.084 MB/s | 5.299 MB/s | 5.04 MB/s | - | - |
AES-256 | 7.342 MB/s | 7.209 MB/s | 4.185 MB/s | 4.004 MB/s | - | - |
Hash Algorithms
RA4M1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 3.465 MB/s | - |
SHA-1 | 0.648 MB/s | - |
SHA-224 | 0.496 MB/s | - |
SHA-256 | 0.496 MB/s | - |
SHA-384 | 0.32 MB/s | - |
SHA-512 | 0.32 MB/s | - |
SHA3-224 | 0.345 MB/s | - |
SHA3-256 | 0.326 MB/s | - |
SHA3-384 | 0.25 MB/s | - |
SHA3-512 | 0.174 MB/s | - |
Signature Algorithms
RA4M1 @ 48 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) | 318 ms | 56.2 ms |
RSA (2048 bits) | 1728 ms | 208.7 ms |
DSA (1024 bits) | 187.3 ms | 396.9 ms |
DSA (2048 bits) | 884.6 ms | 1890.9 ms |
EC Signature Algorithms
RA4M1 @ 48 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) | 634.9 ms | 807 ms |
ECDSA (P-384) | 1223.9 ms | 1515.4 ms |
ECDSA (P-521) | 1380.1 ms | 1636.6 ms |
EdDSA (Ed25519) | 170.5 ms | 335.7 ms |
EdDSA (Ed448) | 834 ms | 1653.8 ms |
Key Exchange Algorithms
RA4M1 @ 48 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) | 691.5 ms | 691.9 ms |
Diffie-Hellman (2048 bits) | 4833.5 ms | 4834 ms |
EC Key Exchange Algorithms
RA4M1 @ 48 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) | 619.5 ms | 618.1 ms |
ECDH (P-384) | 1168.3 ms | 1186.9 ms |
ECDH (P-521) | 1364.6 ms | 1359.5 ms |
ECDH (X25519) | 92.8 ms | 92.9 ms |
ECDH (X448) | 417.7 ms | 417.7 ms |