Crypto Benchmark on STM32WL MCU
ARM Cortex-M4 @ 48 MHz

This benchmark conducted on STM32 Nucleo-64 development board with STM32WL55JC 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 STMicroelectronics STM32WL microcontroller.

STM32WL MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.

Cipher Algorithms

STM32WL55 @ 48 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.097 MB/s0.095 MB/s----
AES-1280.492 MB/s0.512 MB/s0.266 MB/s0.265 MB/s0.292 MB/s0.292 MB/s
AES-1920.429 MB/s0.448 MB/s0.228 MB/s0.227 MB/s0.267 MB/s0.267 MB/s
AES-2560.38 MB/s0.398 MB/s0.2 MB/s0.199 MB/s0.248 MB/s0.248 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-1287.836 MB/s7.751 MB/s4.434 MB/s4.403 MB/s7.385 MB/s7.473 MB/s
AES-2566.41 MB/s6.353 MB/s3.384 MB/s3.348 MB/s6.101 MB/s6.138 MB/s

Hash Algorithms

STM32WL55 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD52.482 MB/s-
SHA-10.686 MB/s-
SHA-2240.667 MB/s-
SHA-2560.666 MB/s-
SHA-3840.338 MB/s-
SHA-5120.338 MB/s-
SHA3-2240.179 MB/s-
SHA3-2560.169 MB/s-
SHA3-3840.129 MB/s-
SHA3-5120.09 MB/s-

Signature Algorithms

STM32WL55 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)345.5 ms65.2 ms
RSA (2048 bits)1791 ms240.3 ms
RSA (3072 bits)5081.2 ms516.6 ms
DSA (1024 bits)203.3 ms423.6 ms
DSA (2048 bits)920.2 ms1949.8 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)81.4 ms6.9 ms
RSA (2048 bits)509 ms18.8 ms
RSA (3072 bits)1581.3 ms46.9 ms

EC Signature Algorithms

STM32WL55 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)722.5 ms906.7 ms
ECDSA (P-384)1314.3 ms1630.3 ms
ECDSA (P-521)1427.9 ms1697.3 ms
EdDSA (Ed25519)173 ms342.2 ms
EdDSA (Ed448)749.7 ms1487.9 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)106 ms220.2 ms
ECDSA (P-384)304.3 ms615.6 ms
ECDSA (P-521)728.9 ms1459.3 ms
EdDSA (Ed25519)130.7 ms257.5 ms
EdDSA (Ed448)476.4 ms946.5 ms

Key Exchange Algorithms

STM32WL55 @ 48 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)693.5 ms694.1 ms
Diffie-Hellman (2048 bits)4748.7 ms4749.4 ms

EC Key Exchange Algorithms

STM32WL55 @ 48 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)694.4 ms692.3 ms
ECDH (P-384)1242.2 ms1261.8 ms
ECDH (P-521)1394.8 ms1390.3 ms
ECDH (X25519)96.5 ms96.4 ms
ECDH (X448)384.4 ms384.3 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)121.7 ms121.7 ms
ECDH (P-384)334.5 ms334.3 ms
ECDH (P-521)777.9 ms777.9 ms
ECDH (X25519)73.3 ms73.4 ms
ECDH (X448)250.9 ms250.8 ms