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-CBC | 0.725 MB/s | 0.702 MB/s |
| 3DES-CTR | 0.74 MB/s | 0.74 MB/s |
| AES128-CBC | 3.96 MB/s | 3.599 MB/s |
| AES192-CBC | 3.497 MB/s | 3.175 MB/s |
| AES256-CBC | 3.129 MB/s | 2.836 MB/s |
| AES128-CTR | 4.006 MB/s | 4.009 MB/s |
| AES192-CTR | 3.533 MB/s | 3.531 MB/s |
| AES256-CTR | 3.158 MB/s | 3.162 MB/s |
| SM4-CBC | 3.374 MB/s | 3.142 MB/s |
| SM4-CTR | 3.474 MB/s | 3.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-GCM | 2.411 MB/s | 2.407 MB/s |
| AES192-GCM | 2.238 MB/s | 2.227 MB/s |
| AES256-GCM | 2.077 MB/s | 2.069 MB/s |
| AES128-CCM | 2.322 MB/s | 2.316 MB/s |
| AES192-CCM | 1.999 MB/s | 1.995 MB/s |
| AES256-CCM | 1.758 MB/s | 1.754 MB/s |
| SM4-GCM | 2.184 MB/s | 2.172 MB/s |
| SM4-CCM | 1.915 MB/s | 1.916 MB/s |
| Ascon-AEAD128 | 4.003 MB/s | 3.927 MB/s |
| ChaCha20Poly1305 | 5.803 MB/s | 5.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) |
|---|---|
| MD5 | 15.772 MB/s |
| SHA-1 | 4.837 MB/s |
| SHA-224 | 4.173 MB/s |
| SHA-256 | 4.173 MB/s |
| SHA-384 | 2.125 MB/s |
| SHA-512 | 2.125 MB/s |
| SHA3-224 | 2.047 MB/s |
| SHA3-256 | 1.935 MB/s |
| SHA3-384 | 1.491 MB/s |
| SHA3-512 | 1.04 MB/s |
| SM3 | 3.192 MB/s |
| Ascon-Hash256 | 1.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 ms | 8.5 ms |
| RSA (2048 bits) | 316 ms | 30.3 ms |
| RSA (3072 bits) | 915.1 ms | 64.1 ms |
| RSA (4096 bits) | 2005.8 ms | 112.8 ms |
| DSA (1024 bits) | 32.5 ms | 66.3 ms |
| DSA (2048 bits) | 152.3 ms | 316.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 ms | 46.5 ms |
| ECDSA (secp384r1) | 124.3 ms | 114.3 ms |
| ECDSA (secp521r1) | 261.8 ms | 234.2 ms |
| ECDSA (brainpoolP256r1) | 98.2 ms | 99.8 ms |
| ECDSA (brainpoolP384r1) | 249.3 ms | 251.7 ms |
| ECDSA (brainpoolP512r1) | 507.7 ms | 521 ms |
| SM2 | 95.1 ms | 38.5 ms |
| EdDSA (Ed25519) | 11.6 ms | 10.2 ms |
| EdDSA (Ed448) | 55.3 ms | 49.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 ms | 131 ms |
| Diffie-Hellman (2048 bits) | 906.1 ms | 906.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 ms | 43.4 ms |
| ECDH (secp384r1) | 108.6 ms | 108.5 ms |
| ECDH (secp521r1) | 225.1 ms | 224.8 ms |
| ECDH (brainpoolP256r1) | 91.1 ms | 91 ms |
| ECDH (brainpoolP384r1) | 231 ms | 230.8 ms |
| ECDH (brainpoolP512r1) | 470 ms | 469.8 ms |
| ECDH (SM2) | 43.4 ms | 43.3 ms |
| ECDH (X25519) | 6.7 ms | 6.7 ms |
| ECDH (X448) | 28.6 ms | 28.6 ms |