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.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
3DES-CBC | 0.157 MB/s | 0.155 MB/s | - | - |
3DES-CTR | 0.154 MB/s | 0.154 MB/s | - | - |
AES128-CBC | 0.874 MB/s | 0.84 MB/s | 9.765 MB/s | 9.671 MB/s |
AES192-CBC | 0.795 MB/s | 0.765 MB/s | 10.416 MB/s | 10.298 MB/s |
AES256-CBC | 0.729 MB/s | 0.706 MB/s | 9.532 MB/s | 9.416 MB/s |
AES128-CTR | 0.876 MB/s | 0.876 MB/s | 9.416 MB/s | 9.38 MB/s |
AES192-CTR | 0.796 MB/s | 0.796 MB/s | 10.02 MB/s | 9.98 MB/s |
AES256-CTR | 0.73 MB/s | 0.73 MB/s | 9.225 MB/s | 9.199 MB/s |
SM4-CBC | 0.898 MB/s | 0.828 MB/s | - | - |
SM4-CTR | 0.882 MB/s | 0.882 MB/s | - | - |
AEAD Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
AES128-GCM | 0.456 MB/s | 0.446 MB/s | 8.445 MB/s | 8.264 MB/s |
AES192-GCM | 0.433 MB/s | 0.424 MB/s | 9.276 MB/s | 8.944 MB/s |
AES256-GCM | 0.413 MB/s | 0.404 MB/s | 8.841 MB/s | 8.576 MB/s |
AES128-CCM | 0.478 MB/s | 0.469 MB/s | 8.298 MB/s | 7.824 MB/s |
AES192-CCM | 0.431 MB/s | 0.424 MB/s | 9.285 MB/s | 8.795 MB/s |
AES256-CCM | 0.391 MB/s | 0.385 MB/s | 8.849 MB/s | 8.438 MB/s |
SM4-GCM | 0.468 MB/s | 0.472 MB/s | - | - |
SM4-CCM | 0.466 MB/s | 0.469 MB/s | - | - |
Ascon-AEAD128 | 1.07 MB/s | 1.082 MB/s | - | - |
ChaCha20Poly1305 | 1.3 MB/s | 1.297 MB/s | - | - |
Hash Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 5.367 MB/s | - |
SHA-1 | 1.355 MB/s | - |
SHA-224 | 0.883 MB/s | 31.055 MB/s |
SHA-256 | 0.883 MB/s | 31.055 MB/s |
SHA-384 | 0.462 MB/s | - |
SHA-512 | 0.462 MB/s | - |
SHA3-224 | 0.393 MB/s | - |
SHA3-256 | 0.372 MB/s | - |
SHA3-384 | 0.285 MB/s | - |
SHA3-512 | 0.198 MB/s | - |
SM3 | 0.829 MB/s | - |
Ascon-Hash256 | 0.408 MB/s | - |
Signature Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
Generation (Hardware) |
Verification (Hardware) |
---|---|---|---|---|
RSA (1024 bits) | 233.2 ms | 36.1 ms | 7 ms | 0.4 ms |
RSA (2048 bits) | 1311.9 ms | 134.2 ms | 133.1 ms | 1.7 ms |
RSA (3072 bits) | 3852.6 ms | 288.6 ms | 471.9 ms | 39.9 ms |
RSA (4096 bits) | 8495.1 ms | 511.3 ms | 606.7 ms | 51.2 ms |
DSA (1024 bits) | 132.9 ms | 278.8 ms | - | - |
DSA (2048 bits) | 648.9 ms | 1372.2 ms | - | - |
DSA (3072 bits) | 1403.4 ms | 2980.5 ms | - | - |
EC Signature Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
Generation (Hardware) |
Verification (Hardware) |
---|---|---|---|---|
ECDSA (secp256r1) | 198.5 ms | 177.8 ms | 18.9 ms | 27.9 ms |
ECDSA (secp384r1) | 469.3 ms | 422.3 ms | 32 ms | 47.4 ms |
ECDSA (secp521r1) | 943.5 ms | 825.3 ms | - | - |
ECDSA (brainpoolP256r1) | 380.8 ms | 377.8 ms | 18.8 ms | 28 ms |
ECDSA (brainpoolP384r1) | 912.1 ms | 902.5 ms | 31.7 ms | 47.6 ms |
ECDSA (brainpoolP512r1) | 1771.9 ms | 1783.9 ms | - | - |
SM2 | 176.1 ms | 176.1 ms | - | - |
EdDSA (Ed25519) | 53.1 ms | 48.3 ms | - | - |
EdDSA (Ed448) | 281.9 ms | 256.2 ms | - | - |
Key Exchange Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
Public Key Generation (Hardware) |
Shared Secret Computation (Hardware) |
---|---|---|---|---|
Diffie-Hellman (1024 bits) | 533.6 ms | 533.9 ms | 7 ms | 6.6 ms |
Diffie-Hellman (2048 bits) | 3791.6 ms | 3792.2 ms | 132.4 ms | 131.4 ms |
EC Key Exchange Algorithms
RA4M3 @ 100 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
Public Key Generation (Hardware) |
Shared Secret Computation (Hardware) |
---|---|---|---|---|
ECDH (secp256r1) | 175.9 ms | 175.6 ms | 25.3 ms | 25 ms |
ECDH (secp384r1) | 415.2 ms | 414.8 ms | 48.7 ms | 48.3 ms |
ECDH (secp521r1) | 815 ms | 814.4 ms | - | - |
ECDH (brainpoolP256r1) | 354.6 ms | 354.3 ms | 44.3 ms | 44 ms |
ECDH (brainpoolP384r1) | 848 ms | 847.6 ms | 93.6 ms | 93.3 ms |
ECDH (brainpoolP512r1) | 1645.6 ms | 1645.3 ms | - | - |
ECDH (SM2) | 176.1 ms | 175.9 ms | - | - |
ECDH (X25519) | 29.2 ms | 29.2 ms | - | - |
ECDH (X448) | 148.1 ms | 148.1 ms | - | - |