Crypto Benchmark on RA6M3 MCU
ARM Cortex-M4 @ 120 MHz
This benchmark conducted on EK-RA6M3 Evaluation Kit for RA6M3 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 RA6M3 microcontroller.
RA6M3 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
RA6M3 @ 120 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.225 MB/s | 0.224 MB/s | - | - |
3DES-CTR | 0.224 MB/s | 0.224 MB/s | - | - |
AES128-CBC | 1.19 MB/s | 1.162 MB/s | 17.825 MB/s | 17.636 MB/s |
AES192-CBC | 1.041 MB/s | 1.019 MB/s | 19.455 MB/s | 19.193 MB/s |
AES256-CBC | 0.925 MB/s | 0.907 MB/s | 17.452 MB/s | 17.271 MB/s |
AES128-CTR | 1.192 MB/s | 1.186 MB/s | 17.182 MB/s | 17.123 MB/s |
AES192-CTR | 1.043 MB/s | 1.038 MB/s | 18.691 MB/s | 18.656 MB/s |
AES256-CTR | 0.928 MB/s | 0.923 MB/s | 16.835 MB/s | 16.806 MB/s |
SM4-CBC | 0.92 MB/s | 0.918 MB/s | - | - |
SM4-CTR | 0.91 MB/s | 0.91 MB/s | - | - |
AEAD Algorithms
RA6M3 @ 120 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.63 MB/s | 0.626 MB/s | 16 MB/s | 15.36 MB/s |
AES192-GCM | 0.584 MB/s | 0.581 MB/s | 17.064 MB/s | 16.474 MB/s |
AES256-GCM | 0.547 MB/s | 0.545 MB/s | 15.822 MB/s | 15.313 MB/s |
AES128-CCM | 0.616 MB/s | 0.616 MB/s | 15.948 MB/s | 15.105 MB/s |
AES192-CCM | 0.534 MB/s | 0.534 MB/s | 16.891 MB/s | 15.974 MB/s |
AES256-CCM | 0.473 MB/s | 0.473 MB/s | 15.748 MB/s | 14.88 MB/s |
SM4-GCM | 0.539 MB/s | 0.536 MB/s | - | - |
SM4-CCM | 0.465 MB/s | 0.465 MB/s | - | - |
Ascon-AEAD128 | 1.499 MB/s | 1.517 MB/s | - | - |
ChaCha20Poly1305 | 1.928 MB/s | 1.924 MB/s | - | - |
Hash Algorithms
RA6M3 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using Clang with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 8.326 MB/s | - |
SHA-1 | 1.788 MB/s | - |
SHA-224 | 1.275 MB/s | 42.735 MB/s |
SHA-256 | 1.275 MB/s | 42.735 MB/s |
SHA-384 | 0.721 MB/s | - |
SHA-512 | 0.721 MB/s | - |
SHA3-224 | 0.697 MB/s | - |
SHA3-256 | 0.659 MB/s | - |
SHA3-384 | 0.505 MB/s | - |
SHA3-512 | 0.351 MB/s | - |
SM3 | 1.33 MB/s | - |
Ascon-Hash256 | 0.559 MB/s | - |
Signature Algorithms
RA6M3 @ 120 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) | 151.3 ms | 24.8 ms | 111.1 ms | 1.2 ms |
RSA (2048 bits) | 820.2 ms | 91.7 ms | 111.3 ms | 1.3 ms |
RSA (3072 bits) | 2363.3 ms | 196.6 ms | 538.2 ms | 196.7 ms |
RSA (4096 bits) | 5154.2 ms | 348.1 ms | 777.8 ms | 348.2 ms |
DSA (1024 bits) | 85.5 ms | 180.9 ms | - | - |
DSA (2048 bits) | 405.2 ms | 864.2 ms | - | - |
DSA (3072 bits) | 872 ms | 1869.8 ms | - | - |
EC Signature Algorithms
RA6M3 @ 120 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) | 134.9 ms | 121.7 ms | 0.7 ms | 1.6 ms |
ECDSA (secp384r1) | 324.1 ms | 293.3 ms | 4.9 ms | 9.4 ms |
ECDSA (secp521r1) | 663.2 ms | 582.9 ms | - | - |
ECDSA (brainpoolP256r1) | 280.2 ms | 280 ms | 0.8 ms | 1.8 ms |
ECDSA (brainpoolP384r1) | 695.6 ms | 693.1 ms | 4.7 ms | 9.5 ms |
ECDSA (brainpoolP512r1) | 1376.1 ms | 1394.2 ms | - | - |
SM2 | 117 ms | 117 ms | - | - |
EdDSA (Ed25519) | 33.4 ms | 30.3 ms | - | - |
EdDSA (Ed448) | 167.2 ms | 149.2 ms | - | - |
Key Exchange Algorithms
RA6M3 @ 120 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) | 324.4 ms | 324.3 ms | 110.1 ms | 110 ms |
Diffie-Hellman (2048 bits) | 2257.9 ms | 2257.1 ms | 110.4 ms | 110 ms |
EC Key Exchange Algorithms
RA6M3 @ 120 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) | 117.8 ms | 117.7 ms | 17 ms | 16.8 ms |
ECDH (secp384r1) | 282.2 ms | 282 ms | 33.6 ms | 33.4 ms |
ECDH (secp521r1) | 566.9 ms | 566.5 ms | - | - |
ECDH (brainpoolP256r1) | 260.5 ms | 260.2 ms | 31.7 ms | 31.5 ms |
ECDH (brainpoolP384r1) | 645.9 ms | 645.6 ms | 70 ms | 69.9 ms |
ECDH (brainpoolP512r1) | 1276.7 ms | 1276.4 ms | - | - |
ECDH (SM2) | 117 ms | 116.9 ms | - | - |
ECDH (X25519) | 18.1 ms | 18.1 ms | - | - |
ECDH (X448) | 84.6 ms | 84.5 ms | - | - |