Crypto Benchmark on S32K3 MCU
ARM Cortex-M7 @ 160 MHz
This benchmark conducted on S32K344MINI-EVB Development Board for S32K344 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 S32K3 microcontroller.
Cipher Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Encryption (Software) |
Decryption (Software) |
|---|---|---|
| 3DES-CBC | 0.85 MB/s | 0.824 MB/s |
| 3DES-CTR | 0.849 MB/s | 0.849 MB/s |
| AES128-CBC | 4.032 MB/s | 3.892 MB/s |
| AES192-CBC | 3.549 MB/s | 3.489 MB/s |
| AES256-CBC | 3.253 MB/s | 3.161 MB/s |
| AES128-CTR | 4.135 MB/s | 4.135 MB/s |
| AES192-CTR | 3.668 MB/s | 3.668 MB/s |
| AES256-CTR | 3.3 MB/s | 3.3 MB/s |
| SM4-CBC | 3.184 MB/s | 2.998 MB/s |
| SM4-CTR | 3.182 MB/s | 3.184 MB/s |
AEAD Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Encryption (Software) |
Decryption (Software) |
|---|---|---|
| AES128-GCM | 2.314 MB/s | 2.32 MB/s |
| AES192-GCM | 2.157 MB/s | 2.162 MB/s |
| AES256-GCM | 2.021 MB/s | 2.026 MB/s |
| AES128-CCM | 2.25 MB/s | 2.244 MB/s |
| AES192-CCM | 1.966 MB/s | 1.963 MB/s |
| AES256-CCM | 1.749 MB/s | 1.745 MB/s |
| SM4-GCM | 1.992 MB/s | 1.996 MB/s |
| SM4-CCM | 1.677 MB/s | 1.692 MB/s |
| Ascon-AEAD128 | 2.977 MB/s | 3.018 MB/s |
| ChaCha20Poly1305 | 5.327 MB/s | 5.33 MB/s |
Hash Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Speed (Software) |
|---|---|
| MD5 | 18.05 MB/s |
| SHA-1 | 4.878 MB/s |
| SHA-224 | 4.056 MB/s |
| SHA-256 | 4.055 MB/s |
| SHA-384 | 2.201 MB/s |
| SHA-512 | 2.201 MB/s |
| SHA3-224 | 2.246 MB/s |
| SHA3-256 | 2.123 MB/s |
| SHA3-384 | 1.628 MB/s |
| SHA3-512 | 1.131 MB/s |
| SM3 | 3.888 MB/s |
| Ascon-Hash256 | 1.123 MB/s |
Signature Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Generation (Software) |
Verification (Software) |
|---|---|---|
| RSA (1024 bits) | 60.8 ms | 8.5 ms |
| RSA (2048 bits) | 319 ms | 30 ms |
| RSA (3072 bits) | 920.7 ms | 63.2 ms |
| RSA (4096 bits) | 2014.4 ms | 110.9 ms |
| DSA (1024 bits) | 33.1 ms | 67.5 ms |
| DSA (2048 bits) | 153.7 ms | 319.2 ms |
EC Signature Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Generation (Software) |
Verification (Software) |
|---|---|---|
| ECDSA (secp256r1) | 52.1 ms | 47.4 ms |
| ECDSA (secp384r1) | 125.5 ms | 114 ms |
| ECDSA (secp521r1) | 250.4 ms | 224.2 ms |
| ECDSA (brainpoolP256r1) | 108.8 ms | 109.2 ms |
| ECDSA (brainpoolP384r1) | 257 ms | 258.2 ms |
| ECDSA (brainpoolP512r1) | 493.2 ms | 504.6 ms |
| SM2 | 104.5 ms | 41 ms |
| EdDSA (Ed25519) | 11.1 ms | 9.6 ms |
| EdDSA (Ed448) | 50.5 ms | 45.2 ms |
Key Exchange Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
|---|---|---|
| Diffie-Hellman (1024 bits) | 132.3 ms | 132.2 ms |
| Diffie-Hellman (2048 bits) | 910.8 ms | 909.2 ms |
EC Key Exchange Algorithms
S32K344 @ 160 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using Clang with optimization level 3
| Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
|---|---|---|
| ECDH (secp256r1) | 45.5 ms | 45.5 ms |
| ECDH (secp384r1) | 110 ms | 109.9 ms |
| ECDH (secp521r1) | 214.7 ms | 214.3 ms |
| ECDH (brainpoolP256r1) | 101.2 ms | 101 ms |
| ECDH (brainpoolP384r1) | 238.4 ms | 238.3 ms |
| ECDH (brainpoolP512r1) | 456.6 ms | 456.2 ms |
| ECDH (SM2) | 48 ms | 47.9 ms |
| ECDH (X25519) | 5.9 ms | 6 ms |
| ECDH (X448) | 26.5 ms | 26.4 ms |