Crypto Benchmark on M487 MCU
ARM Cortex-M4 @ 192 MHz

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

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

Cipher Algorithms

M487 @ 192 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.5 MB/s0.519 MB/s14.684 MB/s14.662 MB/s
3DES-CTR0.498 MB/s0.498 MB/s14.534 MB/s14.534 MB/s
AES128-CBC2.424 MB/s1.879 MB/s22.727 MB/s22.727 MB/s
AES192-CBC2.131 MB/s1.698 MB/s20.449 MB/s20.491 MB/s
AES256-CBC1.904 MB/s1.544 MB/s19.493 MB/s19.493 MB/s
AES128-CTR2.331 MB/s2.331 MB/s22.172 MB/s22.172 MB/s
AES192-CTR2.06 MB/s2.059 MB/s20.04 MB/s20 MB/s
AES256-CTR1.845 MB/s1.845 MB/s19.047 MB/s19.12 MB/s
SM4-CBC2.446 MB/s2.359 MB/s--
SM4-CTR2.336 MB/s2.336 MB/s--

AEAD Algorithms

M487 @ 192 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.198 MB/s1.273 MB/s2.344 MB/s2.34 MB/s
AES192-GCM1.11 MB/s1.183 MB/s2.315 MB/s2.314 MB/s
AES256-GCM1.045 MB/s1.109 MB/s2.303 MB/s2.299 MB/s
AES128-CCM1.23 MB/s1.199 MB/s3.456 MB/s3.229 MB/s
AES192-CCM1.075 MB/s1.05 MB/s3.316 MB/s3.112 MB/s
AES256-CCM0.956 MB/s0.936 MB/s3.232 MB/s3.084 MB/s
SM4-GCM1.275 MB/s1.31 MB/s--
SM4-CCM1.29 MB/s1.292 MB/s--
Ascon-AEAD1282.516 MB/s2.511 MB/s--
ChaCha20Poly13051.786 MB/s1.766 MB/s--

Hash Algorithms

M487 @ 192 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD511.198 MB/s-
SHA-12.668 MB/s34.843 MB/s
SHA-2242.556 MB/s37.174 MB/s
SHA-2562.557 MB/s37.313 MB/s
SHA-3841.298 MB/s37.313 MB/s
SHA-5121.297 MB/s37.174 MB/s
SHA3-2240.857 MB/s-
SHA3-2560.812 MB/s-
SHA3-3840.625 MB/s-
SHA3-5120.435 MB/s-
SM32.234 MB/s-
Ascon-Hash2560.952 MB/s-

Signature Algorithms

M487 @ 192 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
RSA (1024 bits)90.1 ms16.7 ms
RSA (2048 bits)462.3 ms61.1 ms
RSA (3072 bits)1301 ms130.8 ms
RSA (4096 bits)2798.8 ms230.7 ms
DSA (1024 bits)51 ms107.3 ms
DSA (2048 bits)231.1 ms490.8 ms
DSA (3072 bits)493.7 ms1055.5 ms

EC Signature Algorithms

M487 @ 192 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)63 ms56.8 ms15.1 ms21.6 ms
ECDSA (secp384r1)148.5 ms133.7 ms37.3 ms51.3 ms
ECDSA (secp521r1)316 ms275.9 ms79.9 ms104.7 ms
ECDSA (brainpoolP256r1)110.5 ms109.6 ms21.7 ms27.9 ms
ECDSA (brainpoolP384r1)303.5 ms317.6 ms54.8 ms69 ms
ECDSA (brainpoolP512r1)607.9 ms614.2 ms111.4 ms136.4 ms
SM255.1 ms55.1 ms8.7 ms8.7 ms
EdDSA (Ed25519)15.1 ms13.2 ms--
EdDSA (Ed448)76.4 ms67.7 ms--

Key Exchange Algorithms

M487 @ 192 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)174.8 ms175 ms
Diffie-Hellman (2048 bits)1191 ms1191.2 ms

EC Key Exchange Algorithms

M487 @ 192 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)56.4 ms56.3 ms8.6 ms8.4 ms
ECDH (secp384r1)131.1 ms130.4 ms20.1 ms19.8 ms
ECDH (secp521r1)273.4 ms273.5 ms38.1 ms37.7 ms
ECDH (brainpoolP256r1)103.1 ms102.5 ms13.9 ms13.7 ms
ECDH (brainpoolP384r1)298.1 ms283 ms34.2 ms34 ms
ECDH (brainpoolP512r1)564.7 ms565.2 ms68 ms67.8 ms
ECDH (SM2)54.9 ms54.8 ms8.8 ms8.5 ms
ECDH (X25519)8.2 ms8.3 ms--
ECDH (X448)38.8 ms38.8 ms--