Crypto Benchmark on RA2A1 MCU
ARM Cortex-M23 @ 48 MHz
This benchmark conducted on EK-RA2A1 Evaluation Kit for RA2A1 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 RA2A1 microcontroller.
RA2A1 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
RA2A1 @ 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.059 MB/s | 0.057 MB/s | - | - | - | - |
AES-128 | 0.25 MB/s | 0.24 MB/s | 0.129 MB/s | 0.129 MB/s | 0.144 MB/s | 0.144 MB/s |
AES-192 | 0.214 MB/s | 0.206 MB/s | 0.11 MB/s | 0.109 MB/s | 0.131 MB/s | 0.131 MB/s |
AES-256 | 0.187 MB/s | 0.181 MB/s | 0.095 MB/s | 0.095 MB/s | 0.12 MB/s | 0.12 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 1.594 MB/s | 1.577 MB/s | - | - | - | - |
AES-256 | 1.239 MB/s | 1.223 MB/s | - | - | - | - |
Hash Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.3.2
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 2.142 MB/s | - |
SHA-1 | 0.407 MB/s | - |
SHA-224 | 0.265 MB/s | - |
SHA-256 | 0.265 MB/s | - |
SHA-384 | 0.206 MB/s | - |
SHA-512 | 0.206 MB/s | - |
SHA3-224 | 0.227 MB/s | - |
SHA3-256 | 0.214 MB/s | - |
SHA3-384 | 0.165 MB/s | - |
SHA3-512 | 0.114 MB/s | - |
Signature Algorithms
RA2A1 @ 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) | 1093.1 ms | 110 ms |
RSA (2048 bits) | 7491.2 ms | 418.7 ms |
DSA (1024 bits) | 651.4 ms | 1315.2 ms |
DSA (2048 bits) | 3710.3 ms | 7543.3 ms |
EC Signature Algorithms
RA2A1 @ 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) | 984.9 ms | 1254.5 ms |
ECDSA (P-384) | 2179.3 ms | 2697.7 ms |
ECDSA (P-521) | 3464.2 ms | 4184.4 ms |
EdDSA (Ed25519) | 629.3 ms | 1252.8 ms |
EdDSA (Ed448) | 3180.4 ms | 6352.7 ms |
Key Exchange Algorithms
RA2A1 @ 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) | 3459.1 ms | 3460.3 ms |
Diffie-Hellman (2048 bits) | 26566.8 ms | 26570.9 ms |
EC Key Exchange Algorithms
RA2A1 @ 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) | 975.3 ms | 973.6 ms |
ECDH (P-384) | 2089.5 ms | 2108.5 ms |
ECDH (P-521) | 3492.5 ms | 3486.7 ms |
ECDH (X25519) | 348.8 ms | 348.9 ms |
ECDH (X448) | 1609.3 ms | 1609.2 ms |