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
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.193 MB/s0.193 MB/s----
AES-1280.934 MB/s0.871 MB/s0.45 MB/s0.486 MB/s0.447 MB/s0.459 MB/s
AES-1920.828 MB/s0.783 MB/s0.4 MB/s0.425 MB/s0.419 MB/s0.43 MB/s
AES-2560.744 MB/s0.707 MB/s0.359 MB/s0.379 MB/s0.395 MB/s0.405 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-1283.081 MB/s3.071 MB/s----

Hash Algorithms

S32K148 @ 80 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD55.422 MB/s-
SHA-11.143 MB/s-
SHA-2241.132 MB/s-
SHA-2561.137 MB/s-
SHA-3840.538 MB/s-
SHA-5120.538 MB/s-
SHA3-2240.31 MB/s-
SHA3-2560.286 MB/s-
SHA3-3840.225 MB/s-
SHA3-5120.156 MB/s-

Signature Algorithms

S32K148 @ 80 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)204.6 ms39 ms
RSA (2048 bits)1068.9 ms143.7 ms
RSA (3072 bits)3038.7 ms309.2 ms
RSA (4096 bits)6580 ms547.1 ms
DSA (1024 bits)120.8 ms252.2 ms
DSA (2048 bits)549.9 ms1165.6 ms

EC Signature Algorithms

S32K148 @ 80 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)416.3 ms522.9 ms
ECDSA (P-384)775.6 ms961.8 ms
ECDSA (P-521)837.2 ms994 ms
EdDSA (Ed25519)103.6 ms204.8 ms
EdDSA (Ed448)452.5 ms898.3 ms

Key Exchange Algorithms

S32K148 @ 80 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)413.7 ms414 ms
Diffie-Hellman (2048 bits)2842.9 ms2843.5 ms

EC Key Exchange Algorithms

S32K148 @ 80 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)400.3 ms399.1 ms
ECDH (P-384)734 ms745.3 ms
ECDH (P-521)818.5 ms815.8 ms
ECDH (X25519)57.9 ms57.9 ms
ECDH (X448)231.3 ms231.3 ms