Crypto Benchmark on M3351 MCU
ARM Cortex-M33 @ 144 MHz

This benchmark conducted on NuMaker-M3351KI 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 Nuvoton M3351 microcontroller.

Cipher Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
3DES-CBC0.423 MB/s0.424 MB/s
3DES-CTR0.421 MB/s0.421 MB/s
AES128-CBC2.084 MB/s2.031 MB/s
AES192-CBC1.83 MB/s1.792 MB/s
AES256-CBC1.631 MB/s1.603 MB/s
AES128-CTR2.047 MB/s2.046 MB/s
AES192-CTR1.801 MB/s1.801 MB/s
AES256-CTR1.608 MB/s1.608 MB/s
SM4-CBC1.787 MB/s1.768 MB/s
SM4-CTR1.759 MB/s1.759 MB/s

AEAD Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
AES128-GCM1.132 MB/s1.131 MB/s
AES192-GCM1.051 MB/s1.051 MB/s
AES256-GCM0.981 MB/s0.981 MB/s
AES128-CCM1.092 MB/s1.098 MB/s
AES192-CCM0.949 MB/s0.954 MB/s
AES256-CCM0.84 MB/s0.844 MB/s
SM4-GCM1.037 MB/s1.036 MB/s
SM4-CCM0.93 MB/s0.932 MB/s
Ascon-AEAD1282.001 MB/s2.057 MB/s
ChaCha20Poly13053.08 MB/s3.075 MB/s

Hash Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmSpeed
(Software)
MD511.507 MB/s
SHA-12.618 MB/s
SHA-2242.064 MB/s
SHA-2562.064 MB/s
SHA-3841.134 MB/s
SHA-5121.134 MB/s
SHA3-2241.109 MB/s
SHA3-2561.048 MB/s
SHA3-3840.804 MB/s
SHA3-5120.559 MB/s
SM31.804 MB/s
Ascon-Hash2560.752 MB/s

Signature Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)91.6 ms14.3 ms
RSA (2048 bits)515.3 ms52.8 ms
RSA (3072 bits)1519 ms113.2 ms
DSA (1024 bits)52.1 ms108.6 ms
DSA (2048 bits)255.3 ms536.4 ms

EC Signature Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)84.1 ms75 ms
ECDSA (secp384r1)192.7 ms175.8 ms
ECDSA (secp521r1)401.9 ms358.8 ms
ECDSA (brainpoolP256r1)162.8 ms162 ms
ECDSA (brainpoolP384r1)396.7 ms398.4 ms
ECDSA (brainpoolP512r1)780.9 ms797.2 ms
SM283.9 ms61.4 ms
EdDSA (Ed25519)19.4 ms16.7 ms
EdDSA (Ed448)88.7 ms79 ms

Key Exchange Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)211.3 ms210.7 ms
Diffie-Hellman (2048 bits)1502.9 ms1502 ms

EC Key Exchange Algorithms

M3351 @ 144 MHz

  • • Benchmark generated with CycloneCRYPTO 2.6.4
  • • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)74.3 ms74.1 ms
ECDH (secp384r1)168.3 ms168.2 ms
ECDH (secp521r1)345.3 ms345 ms
ECDH (brainpoolP256r1)151.5 ms151.3 ms
ECDH (brainpoolP384r1)368 ms367.9 ms
ECDH (brainpoolP512r1)723.4 ms723.2 ms
ECDH (SM2)70.6 ms70.5 ms
ECDH (X25519)10.4 ms10.3 ms
ECDH (X448)45.3 ms45.3 ms