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-CBC | 0.437 MB/s | 0.438 MB/s | - | - |
3DES-CTR | 0.436 MB/s | 0.436 MB/s | - | - |
AES128-CBC | 2.209 MB/s | 2.155 MB/s | 40.983 MB/s | 40.816 MB/s |
AES192-CBC | 1.932 MB/s | 1.894 MB/s | 35.587 MB/s | 35.335 MB/s |
AES256-CBC | 1.717 MB/s | 1.689 MB/s | 31.847 MB/s | 31.545 MB/s |
AES128-CTR | 2.212 MB/s | 2.212 MB/s | 34.965 MB/s | 34.843 MB/s |
AES192-CTR | 1.935 MB/s | 1.934 MB/s | 30.864 MB/s | 30.769 MB/s |
AES256-CTR | 1.719 MB/s | 1.719 MB/s | 28.089 MB/s | 28.011 MB/s |
SM4-CBC | 1.696 MB/s | 1.677 MB/s | - | - |
SM4-CTR | 1.698 MB/s | 1.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-GCM | 1.216 MB/s | 1.216 MB/s | 10.471 MB/s | 10.319 MB/s |
AES192-GCM | 1.126 MB/s | 1.126 MB/s | 9.91 MB/s | 9.727 MB/s |
AES256-GCM | 1.048 MB/s | 1.048 MB/s | 9.91 MB/s | 9.416 MB/s |
AES128-CCM | 1.17 MB/s | 1.171 MB/s | 10.706 MB/s | 10.604 MB/s |
AES192-CCM | 1.012 MB/s | 1.012 MB/s | - | - |
AES256-CCM | 0.891 MB/s | 0.892 MB/s | 9.398 MB/s | 9.31 MB/s |
SM4-GCM | 1.04 MB/s | 1.04 MB/s | - | - |
SM4-CCM | 0.879 MB/s | 0.88 MB/s | - | - |
Ascon-AEAD128 | 2.134 MB/s | 2.168 MB/s | - | - |
ChaCha20Poly1305 | 3.441 MB/s | 3.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) |
---|---|---|
MD5 | 12.004 MB/s | - |
SHA-1 | 2.665 MB/s | - |
SHA-224 | 2.091 MB/s | 60.24 MB/s |
SHA-256 | 2.091 MB/s | 60.606 MB/s |
SHA-384 | 1.204 MB/s | 64.935 MB/s |
SHA-512 | 1.204 MB/s | 64.935 MB/s |
SHA3-224 | 1.224 MB/s | - |
SHA3-256 | 1.157 MB/s | - |
SHA3-384 | 0.888 MB/s | - |
SHA3-512 | 0.616 MB/s | - |
SM3 | 1.89 MB/s | - |
Ascon-Hash256 | 0.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 ms | 14.1 ms | 10.9 ms | 0.6 ms |
RSA (2048 bits) | 499.3 ms | 52.4 ms | 61 ms | 2 ms |
RSA (3072 bits) | 1468.5 ms | 112.6 ms | 182.1 ms | 4.2 ms |
RSA (4096 bits) | 3244.1 ms | 199.6 ms | 406.3 ms | 7.6 ms |
DSA (1024 bits) | 50.5 ms | 106.6 ms | - | - |
DSA (2048 bits) | 248.5 ms | 526.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 ms | 68.2 ms | 11.4 ms | 9.1 ms |
ECDSA (secp384r1) | 180.2 ms | 165.7 ms | 26.5 ms | 24.2 ms |
ECDSA (secp521r1) | 374.3 ms | 335.1 ms | 61.7 ms | 60.9 ms |
ECDSA (brainpoolP256r1) | 148.6 ms | 149.7 ms | 10.9 ms | 9 ms |
ECDSA (brainpoolP384r1) | 367.9 ms | 370.7 ms | 25.7 ms | 23.9 ms |
ECDSA (brainpoolP512r1) | 727.8 ms | 748.2 ms | 50.6 ms | 50.7 ms |
SM2 | 143.6 ms | 56.9 ms | 41.1 ms | 25.8 ms |
EdDSA (Ed25519) | 17.8 ms | 16.1 ms | - | - |
EdDSA (Ed448) | 83.9 ms | 74.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 ms | 202 ms | 29 ms | 29 ms |
Diffie-Hellman (2048 bits) | 1447.5 ms | 1447.8 ms | 197.1 ms | 197.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 ms | 65.3 ms | 14.4 ms | 14.3 ms |
ECDH (secp384r1) | 157.4 ms | 157.3 ms | 34.1 ms | 34.2 ms |
ECDH (secp521r1) | 321.5 ms | 321.3 ms | 78.4 ms | 78.1 ms |
ECDH (brainpoolP256r1) | 137.9 ms | 137.8 ms | 21.5 ms | 21.4 ms |
ECDH (brainpoolP384r1) | 340.9 ms | 340.8 ms | 52.1 ms | 51.9 ms |
ECDH (brainpoolP512r1) | 673.7 ms | 673.6 ms | 104.2 ms | 104 ms |
ECDH (SM2) | 65.1 ms | 65.1 ms | 14.4 ms | 14.2 ms |
ECDH (X25519) | 9.7 ms | 9.6 ms | 5.4 ms | 5.3 ms |
ECDH (X448) | 42.6 ms | 42.7 ms | 19.5 ms | 19.6 ms |