Crypto Benchmark on MCX N947 MCU
ARM Cortex-M33 @ 150 MHz

This benchmark conducted on FRDM-MCXN947 FRDM Development Board for MCX N94/N54 MCUs 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 NXP MCX N947 microcontroller.

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

Cipher Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using Clang with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC0.437 MB/s0.438 MB/s--
3DES-CTR0.436 MB/s0.436 MB/s--
AES128-CBC2.209 MB/s2.155 MB/s40.983 MB/s40.816 MB/s
AES192-CBC1.932 MB/s1.894 MB/s35.587 MB/s35.335 MB/s
AES256-CBC1.717 MB/s1.689 MB/s31.847 MB/s31.545 MB/s
AES128-CTR2.212 MB/s2.212 MB/s34.965 MB/s34.843 MB/s
AES192-CTR1.935 MB/s1.934 MB/s30.864 MB/s30.769 MB/s
AES256-CTR1.719 MB/s1.719 MB/s28.089 MB/s28.011 MB/s
SM4-CBC1.696 MB/s1.677 MB/s--
SM4-CTR1.698 MB/s1.698 MB/s--

AEAD Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using Clang with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
AES128-GCM1.216 MB/s1.216 MB/s10.471 MB/s10.319 MB/s
AES192-GCM1.126 MB/s1.126 MB/s9.91 MB/s9.727 MB/s
AES256-GCM1.048 MB/s1.048 MB/s9.91 MB/s9.416 MB/s
AES128-CCM1.17 MB/s1.171 MB/s10.706 MB/s10.604 MB/s
AES192-CCM1.012 MB/s1.012 MB/s--
AES256-CCM0.891 MB/s0.892 MB/s9.398 MB/s9.31 MB/s
SM4-GCM1.04 MB/s1.04 MB/s--
SM4-CCM0.879 MB/s0.88 MB/s--
Ascon-AEAD1282.134 MB/s2.168 MB/s--
ChaCha20Poly13053.441 MB/s3.436 MB/s--

Hash Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using Clang with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD512.004 MB/s-
SHA-12.665 MB/s-
SHA-2242.091 MB/s60.24 MB/s
SHA-2562.091 MB/s60.606 MB/s
SHA-3841.204 MB/s64.935 MB/s
SHA-5121.204 MB/s64.935 MB/s
SHA3-2241.224 MB/s-
SHA3-2561.157 MB/s-
SHA3-3840.888 MB/s-
SHA3-5120.616 MB/s-
SM31.89 MB/s-
Ascon-Hash2560.79 MB/s-

Signature Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using Clang with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
RSA (1024 bits)87.8 ms14.1 ms10.9 ms0.6 ms
RSA (2048 bits)499.3 ms52.4 ms61 ms2 ms
RSA (3072 bits)1468.5 ms112.6 ms182.1 ms4.2 ms
RSA (4096 bits)3244.1 ms199.6 ms406.3 ms7.6 ms
DSA (1024 bits)50.5 ms106.6 ms--
DSA (2048 bits)248.5 ms526.4 ms--

EC Signature Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using Clang with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
ECDSA (secp256r1)74.6 ms68.2 ms11.4 ms9.1 ms
ECDSA (secp384r1)180.2 ms165.7 ms26.5 ms24.2 ms
ECDSA (secp521r1)374.3 ms335.1 ms61.7 ms60.9 ms
ECDSA (brainpoolP256r1)148.6 ms149.7 ms10.9 ms9 ms
ECDSA (brainpoolP384r1)367.9 ms370.7 ms25.7 ms23.9 ms
ECDSA (brainpoolP512r1)727.8 ms748.2 ms50.6 ms50.7 ms
SM2143.6 ms56.9 ms41.1 ms25.8 ms
EdDSA (Ed25519)17.8 ms16.1 ms--
EdDSA (Ed448)83.9 ms74.8 ms--

Key Exchange Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • 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)202.2 ms202 ms29 ms29 ms
Diffie-Hellman (2048 bits)1447.5 ms1447.8 ms197.1 ms197.1 ms

EC Key Exchange Algorithms

MCX N947 @ 150 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • 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)65.4 ms65.3 ms14.4 ms14.3 ms
ECDH (secp384r1)157.4 ms157.3 ms34.1 ms34.2 ms
ECDH (secp521r1)321.5 ms321.3 ms78.4 ms78.1 ms
ECDH (brainpoolP256r1)137.9 ms137.8 ms21.5 ms21.4 ms
ECDH (brainpoolP384r1)340.9 ms340.8 ms52.1 ms51.9 ms
ECDH (brainpoolP512r1)673.7 ms673.6 ms104.2 ms104 ms
ECDH (SM2)65.1 ms65.1 ms14.4 ms14.2 ms
ECDH (X25519)9.7 ms9.6 ms5.4 ms5.3 ms
ECDH (X448)42.6 ms42.7 ms19.5 ms19.6 ms