Crypto Benchmark on MCX E31B MCU
ARM Cortex-M7 @ 160 MHz

This benchmark conducted on FRDM-MCXE31B Development Board for MCX E31 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 E31B microcontroller.

Cipher Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
3DES-CBC0.725 MB/s0.702 MB/s
3DES-CTR0.74 MB/s0.74 MB/s
AES128-CBC3.96 MB/s3.599 MB/s
AES192-CBC3.497 MB/s3.175 MB/s
AES256-CBC3.129 MB/s2.836 MB/s
AES128-CTR4.006 MB/s4.009 MB/s
AES192-CTR3.533 MB/s3.531 MB/s
AES256-CTR3.158 MB/s3.162 MB/s
SM4-CBC3.374 MB/s3.142 MB/s
SM4-CTR3.474 MB/s3.481 MB/s

AEAD Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
AES128-GCM2.411 MB/s2.407 MB/s
AES192-GCM2.238 MB/s2.227 MB/s
AES256-GCM2.077 MB/s2.069 MB/s
AES128-CCM2.322 MB/s2.316 MB/s
AES192-CCM1.999 MB/s1.995 MB/s
AES256-CCM1.758 MB/s1.754 MB/s
SM4-GCM2.184 MB/s2.172 MB/s
SM4-CCM1.915 MB/s1.916 MB/s
Ascon-AEAD1284.003 MB/s3.927 MB/s
ChaCha20Poly13055.803 MB/s5.797 MB/s

Hash Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Speed
(Software)
MD515.772 MB/s
SHA-14.837 MB/s
SHA-2244.173 MB/s
SHA-2564.173 MB/s
SHA-3842.125 MB/s
SHA-5122.125 MB/s
SHA3-2242.047 MB/s
SHA3-2561.935 MB/s
SHA3-3841.491 MB/s
SHA3-5121.04 MB/s
SM33.192 MB/s
Ascon-Hash2561.472 MB/s

Signature Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
RSA (1024 bits)59.4 ms8.5 ms
RSA (2048 bits)316 ms30.3 ms
RSA (3072 bits)915.1 ms64.1 ms
RSA (4096 bits)2005.8 ms112.8 ms
DSA (1024 bits)32.5 ms66.3 ms
DSA (2048 bits)152.3 ms316.5 ms

EC Signature Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
ECDSA (secp256r1)49.7 ms46.5 ms
ECDSA (secp384r1)124.3 ms114.3 ms
ECDSA (secp521r1)261.8 ms234.2 ms
ECDSA (brainpoolP256r1)98.2 ms99.8 ms
ECDSA (brainpoolP384r1)249.3 ms251.7 ms
ECDSA (brainpoolP512r1)507.7 ms521 ms
SM295.1 ms38.5 ms
EdDSA (Ed25519)11.6 ms10.2 ms
EdDSA (Ed448)55.3 ms49.6 ms

Key Exchange Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)130.9 ms131 ms
Diffie-Hellman (2048 bits)906.1 ms906.2 ms

EC Key Exchange Algorithms

MCX E31B @ 160 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)43.5 ms43.4 ms
ECDH (secp384r1)108.6 ms108.5 ms
ECDH (secp521r1)225.1 ms224.8 ms
ECDH (brainpoolP256r1)91.1 ms91 ms
ECDH (brainpoolP384r1)231 ms230.8 ms
ECDH (brainpoolP512r1)470 ms469.8 ms
ECDH (SM2)43.4 ms43.3 ms
ECDH (X25519)6.7 ms6.7 ms
ECDH (X448)28.6 ms28.6 ms