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-CBC0.157 MB/s0.155 MB/s--
3DES-CTR0.154 MB/s0.154 MB/s--
AES128-CBC0.874 MB/s0.84 MB/s9.765 MB/s9.671 MB/s
AES192-CBC0.795 MB/s0.765 MB/s10.416 MB/s10.298 MB/s
AES256-CBC0.729 MB/s0.706 MB/s9.532 MB/s9.416 MB/s
AES128-CTR0.876 MB/s0.876 MB/s9.416 MB/s9.38 MB/s
AES192-CTR0.796 MB/s0.796 MB/s10.02 MB/s9.98 MB/s
AES256-CTR0.73 MB/s0.73 MB/s9.225 MB/s9.199 MB/s
SM4-CBC0.898 MB/s0.828 MB/s--
SM4-CTR0.882 MB/s0.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-GCM0.456 MB/s0.446 MB/s8.445 MB/s8.264 MB/s
AES192-GCM0.433 MB/s0.424 MB/s9.276 MB/s8.944 MB/s
AES256-GCM0.413 MB/s0.404 MB/s8.841 MB/s8.576 MB/s
AES128-CCM0.478 MB/s0.469 MB/s8.298 MB/s7.824 MB/s
AES192-CCM0.431 MB/s0.424 MB/s9.285 MB/s8.795 MB/s
AES256-CCM0.391 MB/s0.385 MB/s8.849 MB/s8.438 MB/s
SM4-GCM0.468 MB/s0.472 MB/s--
SM4-CCM0.466 MB/s0.469 MB/s--
Ascon-AEAD1281.07 MB/s1.082 MB/s--
ChaCha20Poly13051.3 MB/s1.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)
MD55.367 MB/s-
SHA-11.355 MB/s-
SHA-2240.883 MB/s31.055 MB/s
SHA-2560.883 MB/s31.055 MB/s
SHA-3840.462 MB/s-
SHA-5120.462 MB/s-
SHA3-2240.393 MB/s-
SHA3-2560.372 MB/s-
SHA3-3840.285 MB/s-
SHA3-5120.198 MB/s-
SM30.829 MB/s-
Ascon-Hash2560.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 ms36.1 ms7 ms0.4 ms
RSA (2048 bits)1311.9 ms134.2 ms133.1 ms1.7 ms
RSA (3072 bits)3852.6 ms288.6 ms471.9 ms39.9 ms
RSA (4096 bits)8495.1 ms511.3 ms606.7 ms51.2 ms
DSA (1024 bits)132.9 ms278.8 ms--
DSA (2048 bits)648.9 ms1372.2 ms--
DSA (3072 bits)1403.4 ms2980.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 ms177.8 ms18.9 ms27.9 ms
ECDSA (secp384r1)469.3 ms422.3 ms32 ms47.4 ms
ECDSA (secp521r1)943.5 ms825.3 ms--
ECDSA (brainpoolP256r1)380.8 ms377.8 ms18.8 ms28 ms
ECDSA (brainpoolP384r1)912.1 ms902.5 ms31.7 ms47.6 ms
ECDSA (brainpoolP512r1)1771.9 ms1783.9 ms--
SM2176.1 ms176.1 ms--
EdDSA (Ed25519)53.1 ms48.3 ms--
EdDSA (Ed448)281.9 ms256.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 ms533.9 ms7 ms6.6 ms
Diffie-Hellman (2048 bits)3791.6 ms3792.2 ms132.4 ms131.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 ms175.6 ms25.3 ms25 ms
ECDH (secp384r1)415.2 ms414.8 ms48.7 ms48.3 ms
ECDH (secp521r1)815 ms814.4 ms--
ECDH (brainpoolP256r1)354.6 ms354.3 ms44.3 ms44 ms
ECDH (brainpoolP384r1)848 ms847.6 ms93.6 ms93.3 ms
ECDH (brainpoolP512r1)1645.6 ms1645.3 ms--
ECDH (SM2)176.1 ms175.9 ms--
ECDH (X25519)29.2 ms29.2 ms--
ECDH (X448)148.1 ms148.1 ms--