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-CBC0.85 MB/s0.824 MB/s
3DES-CTR0.849 MB/s0.849 MB/s
AES128-CBC4.032 MB/s3.892 MB/s
AES192-CBC3.549 MB/s3.489 MB/s
AES256-CBC3.253 MB/s3.161 MB/s
AES128-CTR4.135 MB/s4.135 MB/s
AES192-CTR3.668 MB/s3.668 MB/s
AES256-CTR3.3 MB/s3.3 MB/s
SM4-CBC3.184 MB/s2.998 MB/s
SM4-CTR3.182 MB/s3.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-GCM2.314 MB/s2.32 MB/s
AES192-GCM2.157 MB/s2.162 MB/s
AES256-GCM2.021 MB/s2.026 MB/s
AES128-CCM2.25 MB/s2.244 MB/s
AES192-CCM1.966 MB/s1.963 MB/s
AES256-CCM1.749 MB/s1.745 MB/s
SM4-GCM1.992 MB/s1.996 MB/s
SM4-CCM1.677 MB/s1.692 MB/s
Ascon-AEAD1282.977 MB/s3.018 MB/s
ChaCha20Poly13055.327 MB/s5.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)
MD518.05 MB/s
SHA-14.878 MB/s
SHA-2244.056 MB/s
SHA-2564.055 MB/s
SHA-3842.201 MB/s
SHA-5122.201 MB/s
SHA3-2242.246 MB/s
SHA3-2562.123 MB/s
SHA3-3841.628 MB/s
SHA3-5121.131 MB/s
SM33.888 MB/s
Ascon-Hash2561.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 ms8.5 ms
RSA (2048 bits)319 ms30 ms
RSA (3072 bits)920.7 ms63.2 ms
RSA (4096 bits)2014.4 ms110.9 ms
DSA (1024 bits)33.1 ms67.5 ms
DSA (2048 bits)153.7 ms319.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 ms47.4 ms
ECDSA (secp384r1)125.5 ms114 ms
ECDSA (secp521r1)250.4 ms224.2 ms
ECDSA (brainpoolP256r1)108.8 ms109.2 ms
ECDSA (brainpoolP384r1)257 ms258.2 ms
ECDSA (brainpoolP512r1)493.2 ms504.6 ms
SM2104.5 ms41 ms
EdDSA (Ed25519)11.1 ms9.6 ms
EdDSA (Ed448)50.5 ms45.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 ms132.2 ms
Diffie-Hellman (2048 bits)910.8 ms909.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 ms45.5 ms
ECDH (secp384r1)110 ms109.9 ms
ECDH (secp521r1)214.7 ms214.3 ms
ECDH (brainpoolP256r1)101.2 ms101 ms
ECDH (brainpoolP384r1)238.4 ms238.3 ms
ECDH (brainpoolP512r1)456.6 ms456.2 ms
ECDH (SM2)48 ms47.9 ms
ECDH (X25519)5.9 ms6 ms
ECDH (X448)26.5 ms26.4 ms