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-CBC | 0.727 MB/s | 0.718 MB/s |
| 3DES-CTR | 0.736 MB/s | 0.736 MB/s |
| AES128-CBC | 3.497 MB/s | 3.237 MB/s |
| AES192-CBC | 3.064 MB/s | 2.836 MB/s |
| AES256-CBC | 2.726 MB/s | 2.522 MB/s |
| AES128-CTR | 3.706 MB/s | 3.705 MB/s |
| AES192-CTR | 3.223 MB/s | 3.221 MB/s |
| AES256-CTR | 2.851 MB/s | 2.85 MB/s |
| SM4-CBC | 3.033 MB/s | 2.949 MB/s |
| SM4-CTR | 3.188 MB/s | 3.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-GCM | 2.038 MB/s | 2.035 MB/s |
| AES192-GCM | 1.88 MB/s | 1.878 MB/s |
| AES256-GCM | 1.745 MB/s | 1.743 MB/s |
| AES128-CCM | 2.116 MB/s | 2.111 MB/s |
| AES192-CCM | 1.798 MB/s | 1.795 MB/s |
| AES256-CCM | 1.563 MB/s | 1.561 MB/s |
| SM4-GCM | 1.868 MB/s | 1.866 MB/s |
| SM4-CCM | 1.777 MB/s | 1.773 MB/s |
| Ascon-AEAD128 | 3.837 MB/s | 3.668 MB/s |
| ChaCha20Poly1305 | 5.399 MB/s | 5.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) |
|---|---|
| MD5 | 16.638 MB/s |
| SHA-1 | 4.52 MB/s |
| SHA-224 | 3.561 MB/s |
| SHA-256 | 3.562 MB/s |
| SHA-384 | 1.966 MB/s |
| SHA-512 | 1.966 MB/s |
| SHA3-224 | 1.914 MB/s |
| SHA3-256 | 1.811 MB/s |
| SHA3-384 | 1.395 MB/s |
| SHA3-512 | 0.973 MB/s |
| SM3 | 2.961 MB/s |
| Ascon-Hash256 | 1.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 ms | 9 ms |
| RSA (2048 bits) | 313 ms | 33.7 ms |
| RSA (3072 bits) | 921.4 ms | 72.8 ms |
| RSA (4096 bits) | 2033.9 ms | 129.2 ms |
| DSA (1024 bits) | 31.8 ms | 66.5 ms |
| DSA (2048 bits) | 156 ms | 328.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 ms | 44 ms |
| ECDSA (secp384r1) | 123 ms | 111.9 ms |
| ECDSA (secp521r1) | 267.8 ms | 237.3 ms |
| ECDSA (brainpoolP256r1) | 96.6 ms | 96.8 ms |
| ECDSA (brainpoolP384r1) | 257 ms | 257.5 ms |
| ECDSA (brainpoolP512r1) | 537 ms | 547 ms |
| SM2 | 50.7 ms | 37.1 ms |
| EdDSA (Ed25519) | 10.8 ms | 9.4 ms |
| EdDSA (Ed448) | 51.8 ms | 45.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 ms | 126.5 ms |
| Diffie-Hellman (2048 bits) | 901.5 ms | 901 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 ms | 42.7 ms |
| ECDH (secp384r1) | 107.2 ms | 107.1 ms |
| ECDH (secp521r1) | 229.7 ms | 229.4 ms |
| ECDH (brainpoolP256r1) | 89.7 ms | 89.6 ms |
| ECDH (brainpoolP384r1) | 238.3 ms | 238.2 ms |
| ECDH (brainpoolP512r1) | 497.7 ms | 497.5 ms |
| ECDH (SM2) | 42.7 ms | 42.6 ms |
| ECDH (X25519) | 5.8 ms | 5.9 ms |
| ECDH (X448) | 26.1 ms | 26.1 ms |