Crypto Benchmark on MCX A366 MCU
ARM Cortex-M33 @ 240 MHz

This benchmark conducted on FRDM-MCXA366 FRDM Development Board for MCX A366 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 A366 microcontroller.

Cipher Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
3DES-CBC0.727 MB/s0.718 MB/s
3DES-CTR0.736 MB/s0.736 MB/s
AES128-CBC3.497 MB/s3.237 MB/s
AES192-CBC3.064 MB/s2.836 MB/s
AES256-CBC2.726 MB/s2.522 MB/s
AES128-CTR3.706 MB/s3.705 MB/s
AES192-CTR3.223 MB/s3.221 MB/s
AES256-CTR2.851 MB/s2.85 MB/s
SM4-CBC3.033 MB/s2.949 MB/s
SM4-CTR3.188 MB/s3.188 MB/s

AEAD Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
AES128-GCM2.038 MB/s2.035 MB/s
AES192-GCM1.88 MB/s1.878 MB/s
AES256-GCM1.745 MB/s1.743 MB/s
AES128-CCM2.116 MB/s2.111 MB/s
AES192-CCM1.798 MB/s1.795 MB/s
AES256-CCM1.563 MB/s1.561 MB/s
SM4-GCM1.868 MB/s1.866 MB/s
SM4-CCM1.777 MB/s1.773 MB/s
Ascon-AEAD1283.837 MB/s3.668 MB/s
ChaCha20Poly13055.399 MB/s5.393 MB/s

Hash Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Speed
(Software)
MD516.638 MB/s
SHA-14.52 MB/s
SHA-2243.561 MB/s
SHA-2563.562 MB/s
SHA-3841.966 MB/s
SHA-5121.966 MB/s
SHA3-2241.914 MB/s
SHA3-2561.811 MB/s
SHA3-3841.395 MB/s
SHA3-5120.973 MB/s
SM32.961 MB/s
Ascon-Hash2561.402 MB/s

Signature Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
RSA (1024 bits)55.4 ms9 ms
RSA (2048 bits)313 ms33.7 ms
RSA (3072 bits)921.4 ms72.8 ms
RSA (4096 bits)2033.9 ms129.2 ms
DSA (1024 bits)31.8 ms66.5 ms
DSA (2048 bits)156 ms328.6 ms

EC Signature Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
ECDSA (secp256r1)48.7 ms44 ms
ECDSA (secp384r1)123 ms111.9 ms
ECDSA (secp521r1)267.8 ms237.3 ms
ECDSA (brainpoolP256r1)96.6 ms96.8 ms
ECDSA (brainpoolP384r1)257 ms257.5 ms
ECDSA (brainpoolP512r1)537 ms547 ms
SM250.7 ms37.1 ms
EdDSA (Ed25519)10.8 ms9.4 ms
EdDSA (Ed448)51.8 ms45.9 ms

Key Exchange Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)126.8 ms126.5 ms
Diffie-Hellman (2048 bits)901.5 ms901 ms

EC Key Exchange Algorithms

MCX A366 @ 240 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.4
  • Compiled using GCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)42.7 ms42.7 ms
ECDH (secp384r1)107.2 ms107.1 ms
ECDH (secp521r1)229.7 ms229.4 ms
ECDH (brainpoolP256r1)89.7 ms89.6 ms
ECDH (brainpoolP384r1)238.3 ms238.2 ms
ECDH (brainpoolP512r1)497.7 ms497.5 ms
ECDH (SM2)42.7 ms42.6 ms
ECDH (X25519)5.8 ms5.9 ms
ECDH (X448)26.1 ms26.1 ms