Crypto Benchmark on S32K1 MCU
ARM Cortex-M4 @ 80 MHz
This benchmark conducted on S32K148-EVB-Q176 evaluation board with S32K148 MCU 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 S32K1 microcontroller.
S32K1 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.193 MB/s | 0.193 MB/s | - | - | - | - |
AES-128 | 0.934 MB/s | 0.871 MB/s | 0.45 MB/s | 0.486 MB/s | 0.447 MB/s | 0.459 MB/s |
AES-192 | 0.828 MB/s | 0.783 MB/s | 0.4 MB/s | 0.425 MB/s | 0.419 MB/s | 0.43 MB/s |
AES-256 | 0.744 MB/s | 0.707 MB/s | 0.359 MB/s | 0.379 MB/s | 0.395 MB/s | 0.405 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 3.081 MB/s | 3.071 MB/s | - | - | - | - |
Hash Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 5.422 MB/s | - |
SHA-1 | 1.143 MB/s | - |
SHA-224 | 1.132 MB/s | - |
SHA-256 | 1.137 MB/s | - |
SHA-384 | 0.538 MB/s | - |
SHA-512 | 0.538 MB/s | - |
SHA3-224 | 0.31 MB/s | - |
SHA3-256 | 0.286 MB/s | - |
SHA3-384 | 0.225 MB/s | - |
SHA3-512 | 0.156 MB/s | - |
Signature Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 204.6 ms | 39 ms |
RSA (2048 bits) | 1068.9 ms | 143.7 ms |
RSA (3072 bits) | 3038.7 ms | 309.2 ms |
RSA (4096 bits) | 6580 ms | 547.1 ms |
DSA (1024 bits) | 120.8 ms | 252.2 ms |
DSA (2048 bits) | 549.9 ms | 1165.6 ms |
EC Signature Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 416.3 ms | 522.9 ms |
ECDSA (P-384) | 775.6 ms | 961.8 ms |
ECDSA (P-521) | 837.2 ms | 994 ms |
EdDSA (Ed25519) | 103.6 ms | 204.8 ms |
EdDSA (Ed448) | 452.5 ms | 898.3 ms |
Key Exchange Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 413.7 ms | 414 ms |
Diffie-Hellman (2048 bits) | 2842.9 ms | 2843.5 ms |
EC Key Exchange Algorithms
S32K148 @ 80 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 400.3 ms | 399.1 ms |
ECDH (P-384) | 734 ms | 745.3 ms |
ECDH (P-521) | 818.5 ms | 815.8 ms |
ECDH (X25519) | 57.9 ms | 57.9 ms |
ECDH (X448) | 231.3 ms | 231.3 ms |