Crypto Benchmark on RA4M1 MCU
ARM Cortex-M4 @ 48 MHz

This benchmark conducted on EK-RA4M1 Evaluation Kit for RA4M1 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 RA4M1 microcontroller.

RA4M1 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.

Cipher Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC0.096 MB/s0.094 MB/s--
3DES-CTR0.096 MB/s0.096 MB/s--
AES128-CBC0.49 MB/s0.483 MB/s8.347 MB/s8.196 MB/s
AES192-CBC0.427 MB/s0.421 MB/s--
AES256-CBC0.378 MB/s0.374 MB/s7.485 MB/s7.352 MB/s
AES128-CTR0.494 MB/s0.495 MB/s8.012 MB/s7.993 MB/s
AES192-CTR0.429 MB/s0.43 MB/s--
AES256-CTR0.381 MB/s0.381 MB/s7.204 MB/s7.183 MB/s
SM4-CBC0.409 MB/s0.401 MB/s--
SM4-CTR0.409 MB/s0.409 MB/s--

AEAD Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
AES128-GCM0.281 MB/s0.281 MB/s
AES192-GCM0.258 MB/s0.258 MB/s
AES256-GCM0.24 MB/s0.24 MB/s
AES128-CCM0.259 MB/s0.259 MB/s
AES192-CCM0.222 MB/s0.222 MB/s
AES256-CCM0.196 MB/s0.196 MB/s
SM4-GCM0.25 MB/s0.25 MB/s
SM4-CCM0.212 MB/s0.211 MB/s
Ascon-AEAD1280.63 MB/s0.64 MB/s
ChaCha20Poly13050.893 MB/s0.891 MB/s

Hash Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmSpeed
(Software)
MD53.513 MB/s
SHA-10.632 MB/s
SHA-2240.511 MB/s
SHA-2560.511 MB/s
SHA-3840.323 MB/s
SHA-5120.323 MB/s
SHA3-2240.342 MB/s
SHA3-2560.323 MB/s
SHA3-3840.248 MB/s
SHA3-5120.172 MB/s
SM30.524 MB/s
Ascon-Hash2560.232 MB/s

Signature Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)341.8 ms56.1 ms
RSA (2048 bits)1869.1 ms207.4 ms
DSA (1024 bits)194 ms411.1 ms
DSA (2048 bits)925.9 ms1976.2 ms

EC Signature Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)296.3 ms268.7 ms
ECDSA (secp384r1)709 ms645.7 ms
ECDSA (secp521r1)1447.5 ms1281 ms
ECDSA (brainpoolP256r1)619.2 ms621.9 ms
ECDSA (brainpoolP384r1)1536.2 ms1539.9 ms
ECDSA (brainpoolP512r1)3041.3 ms3100.6 ms
SM2256.3 ms256.3 ms
EdDSA (Ed25519)68 ms61.2 ms
EdDSA (Ed448)323.3 ms285.2 ms

Key Exchange Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)741.7 ms742 ms
Diffie-Hellman (2048 bits)5194.4 ms5195 ms

EC Key Exchange Algorithms

RA4M1 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)258.2 ms257.8 ms
ECDH (secp384r1)615.2 ms614.8 ms
ECDH (secp521r1)1234.7 ms1233.8 ms
ECDH (brainpoolP256r1)575.1 ms574.6 ms
ECDH (brainpoolP384r1)1425 ms1424.4 ms
ECDH (brainpoolP512r1)2819 ms2818.4 ms
ECDH (SM2)256.4 ms256 ms
ECDH (X25519)36.5 ms36.5 ms
ECDH (X448)160.6 ms160.6 ms