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-CBC0.225 MB/s0.224 MB/s--
3DES-CTR0.224 MB/s0.224 MB/s--
AES128-CBC1.19 MB/s1.162 MB/s17.825 MB/s17.636 MB/s
AES192-CBC1.041 MB/s1.019 MB/s19.455 MB/s19.193 MB/s
AES256-CBC0.925 MB/s0.907 MB/s17.452 MB/s17.271 MB/s
AES128-CTR1.192 MB/s1.186 MB/s17.182 MB/s17.123 MB/s
AES192-CTR1.043 MB/s1.038 MB/s18.691 MB/s18.656 MB/s
AES256-CTR0.928 MB/s0.923 MB/s16.835 MB/s16.806 MB/s
SM4-CBC0.92 MB/s0.918 MB/s--
SM4-CTR0.91 MB/s0.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-GCM0.63 MB/s0.626 MB/s16 MB/s15.36 MB/s
AES192-GCM0.584 MB/s0.581 MB/s17.064 MB/s16.474 MB/s
AES256-GCM0.547 MB/s0.545 MB/s15.822 MB/s15.313 MB/s
AES128-CCM0.616 MB/s0.616 MB/s15.948 MB/s15.105 MB/s
AES192-CCM0.534 MB/s0.534 MB/s16.891 MB/s15.974 MB/s
AES256-CCM0.473 MB/s0.473 MB/s15.748 MB/s14.88 MB/s
SM4-GCM0.539 MB/s0.536 MB/s--
SM4-CCM0.465 MB/s0.465 MB/s--
Ascon-AEAD1281.499 MB/s1.517 MB/s--
ChaCha20Poly13051.928 MB/s1.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)
MD58.326 MB/s-
SHA-11.788 MB/s-
SHA-2241.275 MB/s42.735 MB/s
SHA-2561.275 MB/s42.735 MB/s
SHA-3840.721 MB/s-
SHA-5120.721 MB/s-
SHA3-2240.697 MB/s-
SHA3-2560.659 MB/s-
SHA3-3840.505 MB/s-
SHA3-5120.351 MB/s-
SM31.33 MB/s-
Ascon-Hash2560.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 ms24.8 ms111.1 ms1.2 ms
RSA (2048 bits)820.2 ms91.7 ms111.3 ms1.3 ms
RSA (3072 bits)2363.3 ms196.6 ms538.2 ms196.7 ms
RSA (4096 bits)5154.2 ms348.1 ms777.8 ms348.2 ms
DSA (1024 bits)85.5 ms180.9 ms--
DSA (2048 bits)405.2 ms864.2 ms--
DSA (3072 bits)872 ms1869.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 ms121.7 ms0.7 ms1.6 ms
ECDSA (secp384r1)324.1 ms293.3 ms4.9 ms9.4 ms
ECDSA (secp521r1)663.2 ms582.9 ms--
ECDSA (brainpoolP256r1)280.2 ms280 ms0.8 ms1.8 ms
ECDSA (brainpoolP384r1)695.6 ms693.1 ms4.7 ms9.5 ms
ECDSA (brainpoolP512r1)1376.1 ms1394.2 ms--
SM2117 ms117 ms--
EdDSA (Ed25519)33.4 ms30.3 ms--
EdDSA (Ed448)167.2 ms149.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 ms324.3 ms110.1 ms110 ms
Diffie-Hellman (2048 bits)2257.9 ms2257.1 ms110.4 ms110 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 ms117.7 ms17 ms16.8 ms
ECDH (secp384r1)282.2 ms282 ms33.6 ms33.4 ms
ECDH (secp521r1)566.9 ms566.5 ms--
ECDH (brainpoolP256r1)260.5 ms260.2 ms31.7 ms31.5 ms
ECDH (brainpoolP384r1)645.9 ms645.6 ms70 ms69.9 ms
ECDH (brainpoolP512r1)1276.7 ms1276.4 ms--
ECDH (SM2)117 ms116.9 ms--
ECDH (X25519)18.1 ms18.1 ms--
ECDH (X448)84.6 ms84.5 ms--