Crypto Benchmark on M467 MCU
ARM Cortex-M4 @ 200 MHz

This benchmark conducted on NuMaker-IoT-M467 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 M467 microcontroller.

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

Cipher Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC0.502 MB/s0.492 MB/s--
3DES-CTR0.505 MB/s0.506 MB/s--
AES128-CBC2.502 MB/s2.424 MB/s16.75 MB/s16.722 MB/s
AES192-CBC2.192 MB/s2.145 MB/s16.103 MB/s16.103 MB/s
AES256-CBC1.952 MB/s1.931 MB/s15.527 MB/s15.552 MB/s
AES128-CTR2.218 MB/s2.22 MB/s16.339 MB/s16.26 MB/s
AES192-CTR1.972 MB/s1.973 MB/s15.723 MB/s15.673 MB/s
AES256-CTR1.774 MB/s1.775 MB/s15.151 MB/s15.128 MB/s
SM4-CBC2.449 MB/s2.362 MB/s--
SM4-CTR2.176 MB/s2.178 MB/s--

AEAD Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
AES128-GCM1.267 MB/s1.228 MB/s2.188 MB/s2.184 MB/s
AES192-GCM1.182 MB/s1.148 MB/s2.177 MB/s2.162 MB/s
AES256-GCM1.107 MB/s1.076 MB/s2.166 MB/s2.163 MB/s
AES128-CCM1.251 MB/s1.248 MB/s2.679 MB/s2.746 MB/s
AES192-CCM1.092 MB/s1.09 MB/s2.613 MB/s2.68 MB/s
AES256-CCM0.968 MB/s0.966 MB/s2.57 MB/s2.634 MB/s
SM4-GCM1.256 MB/s1.253 MB/s--
SM4-CCM1.223 MB/s1.222 MB/s--
Ascon-AEAD1282.152 MB/s2.142 MB/s--
ChaCha20Poly13051.766 MB/s1.763 MB/s--

Hash Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD511.494 MB/s-
SHA-12.806 MB/s40.16 MB/s
SHA-2242.554 MB/s41.493 MB/s
SHA-2562.554 MB/s41.493 MB/s
SHA-3841.353 MB/s42.735 MB/s
SHA-5121.353 MB/s42.735 MB/s
SHA3-2240.82 MB/s19.801 MB/s
SHA3-2560.776 MB/s19.417 MB/s
SHA3-3840.598 MB/s19.531 MB/s
SHA3-5120.415 MB/s19.607 MB/s
SM32.177 MB/s-
Ascon-Hash2560.813 MB/s-

Signature Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
RSA (1024 bits)83.9 ms15.3 ms4.7 ms0.5 ms
RSA (2048 bits)438.2 ms56.7 ms46.7 ms1.3 ms
RSA (3072 bits)1239.6 ms121.8 ms75.1 ms2.7 ms
RSA (4096 bits)2673.7 ms215.6 ms190.4 ms4.6 ms
DSA (1024 bits)47.3 ms99.1 ms10.8 ms26.3 ms
DSA (2048 bits)217.4 ms461 ms34.6 ms95 ms
DSA (3072 bits)465.6 ms993.8 ms68 ms201.6 ms

EC Signature Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
ECDSA (secp256r1)66.4 ms59.3 ms14.4 ms19.2 ms
ECDSA (secp384r1)162.2 ms145.6 ms35 ms45 ms
ECDSA (secp521r1)336.9 ms294 ms76.3 ms94 ms
ECDSA (brainpoolP256r1)119.1 ms117.9 ms21 ms25.9 ms
ECDSA (brainpoolP384r1)309.7 ms306.3 ms53 ms63.3 ms
ECDSA (brainpoolP512r1)636.2 ms641 ms107.1 ms124.8 ms
SM258.4 ms58.4 ms7.5 ms7.5 ms
EdDSA (Ed25519)14.8 ms13.2 ms--
EdDSA (Ed448)72 ms63.1 ms--

Key Exchange Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC 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)167.4 ms167.5 ms4.3 ms4.3 ms
Diffie-Hellman (2048 bits)1143.6 ms1143.6 ms24.3 ms24.3 ms
Diffie-Hellman (3072 bits)3648 ms3649.3 ms71.6 ms71.7 ms
Diffie-Hellman (4096 bits)8418.9 ms8420.1 ms158.4 ms158.4 ms

EC Key Exchange Algorithms

M467 @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Public Key Generation
(Hardware)
Shared Secret Computation
(Hardware)
ECDH (secp256r1)59.4 ms59.2 ms7.5 ms7.3 ms
ECDH (secp384r1)144 ms143.8 ms16.8 ms16.5 ms
ECDH (secp521r1)292.1 ms291.6 ms31.6 ms31.1 ms
ECDH (brainpoolP256r1)111 ms110.9 ms13.8 ms13.7 ms
ECDH (brainpoolP384r1)288.2 ms287.9 ms31.5 ms31.3 ms
ECDH (brainpoolP512r1)591.4 ms591.1 ms62.4 ms62.1 ms
ECDH (SM2)58.4 ms58.2 ms7.5 ms7.3 ms
ECDH (X25519)8.2 ms8.2 ms--
ECDH (X448)36.8 ms36.7 ms--