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.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) | Encryption (Hardware) | Decryption (Hardware) |
---|---|---|---|---|
3DES-CBC | 0.059 MB/s | 0.057 MB/s | - | - |
3DES-CTR | 0.059 MB/s | 0.059 MB/s | - | - |
AES128-CBC | 0.252 MB/s | 0.244 MB/s | 1.595 MB/s | 1.578 MB/s |
AES192-CBC | 0.216 MB/s | 0.21 MB/s | - | - |
AES256-CBC | 0.189 MB/s | 0.184 MB/s | 1.239 MB/s | 1.224 MB/s |
AES128-CTR | 0.256 MB/s | 0.256 MB/s | 1.583 MB/s | 1.582 MB/s |
AES192-CTR | 0.219 MB/s | 0.219 MB/s | - | - |
AES256-CTR | 0.192 MB/s | 0.191 MB/s | 1.231 MB/s | 1.231 MB/s |
SM4-CBC | 0.261 MB/s | 0.26 MB/s | - | - |
SM4-CTR | 0.263 MB/s | 0.263 MB/s | - | - |
AEAD Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
AES128-GCM | 0.146 MB/s | 0.145 MB/s |
AES192-GCM | 0.133 MB/s | 0.133 MB/s |
AES256-GCM | 0.122 MB/s | 0.122 MB/s |
AES128-CCM | 0.132 MB/s | 0.132 MB/s |
AES192-CCM | 0.112 MB/s | 0.112 MB/s |
AES256-CCM | 0.097 MB/s | 0.097 MB/s |
SM4-GCM | 0.148 MB/s | 0.148 MB/s |
SM4-CCM | 0.136 MB/s | 0.136 MB/s |
Ascon-AEAD128 | 0.284 MB/s | 0.279 MB/s |
ChaCha20Poly1305 | 0.288 MB/s | 0.288 MB/s |
Hash Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 1.813 MB/s |
SHA-1 | 0.403 MB/s |
SHA-224 | 0.27 MB/s |
SHA-256 | 0.27 MB/s |
SHA-384 | 0.216 MB/s |
SHA-512 | 0.216 MB/s |
SHA3-224 | 0.226 MB/s |
SHA3-256 | 0.214 MB/s |
SHA3-384 | 0.164 MB/s |
SHA3-512 | 0.115 MB/s |
SM3 | 0.284 MB/s |
Ascon-Hash256 | 0.105 MB/s |
Signature Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
RSA (1024 bits) | 1108 ms | 109.6 ms |
RSA (2048 bits) | 7599.9 ms | 417.6 ms |
DSA (1024 bits) | 654.7 ms | 1322.3 ms |
DSA (2048 bits) | 3742.4 ms | 7607.3 ms |
EC Signature Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 754.1 ms | 697.9 ms |
ECDSA (secp384r1) | 2133.8 ms | 1981.4 ms |
ECDSA (secp521r1) | 5134.3 ms | 4613.5 ms |
SM2 | 635.7 ms | 635.7 ms |
EdDSA (Ed25519) | 478.1 ms | 454.2 ms |
EdDSA (Ed448) | 2002.9 ms | 1817.9 ms |
EC Key Exchange Algorithms
RA2A1 @ 48 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 635.5 ms | 635.1 ms |
ECDH (secp384r1) | 1803.7 ms | 1803.1 ms |
ECDH (secp521r1) | 4346.7 ms | 4345.7 ms |
ECDH (SM2) | 635.7 ms | 635.3 ms |
ECDH (X25519) | 266.8 ms | 266.9 ms |
ECDH (X448) | 1008.5 ms | 1008.5 ms |