Crypto Benchmark on STM32L5 MCU
ARM Cortex-M33 @ 110 MHz

This benchmark conducted on STM32 Nucleo-144 development board with STM32L562 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 STM32L5 microcontroller.

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

Cipher Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.308 MB/s0.303 MB/s----
AES-1281.448 MB/s1.32 MB/s0.86 MB/s0.858 MB/s0.876 MB/s0.878 MB/s
AES-1921.278 MB/s1.18 MB/s0.743 MB/s0.741 MB/s0.812 MB/s0.813 MB/s
AES-2561.145 MB/s1.061 MB/s0.654 MB/s0.653 MB/s0.756 MB/s0.758 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12817.543 MB/s17.361 MB/s9.661 MB/s9.718 MB/s15.847 MB/s15.6 MB/s
AES-25613.55 MB/s13.404 MB/s7.507 MB/s7.535 MB/s12.437 MB/s12.269 MB/s

Hash Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD58.849 MB/s50.505 MB/s
SHA-12.014 MB/s45.248 MB/s
SHA-2241.454 MB/s49.504 MB/s
SHA-2561.454 MB/s49.504 MB/s
SHA-3840.91 MB/s-
SHA-5120.91 MB/s-
SHA3-2240.893 MB/s-
SHA3-2560.844 MB/s-
SHA3-3840.648 MB/s-
SHA3-5120.45 MB/s-

Signature Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)120.3 ms19.6 ms
RSA (2048 bits)673.2 ms73.1 ms
RSA (3072 bits)1983.5 ms157.2 ms
DSA (1024 bits)71.3 ms148.7 ms
DSA (2048 bits)344 ms726.2 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)35.5 ms3 ms
RSA (2048 bits)221.9 ms8.1 ms
RSA (3072 bits)689.9 ms20.4 ms

EC Signature Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)288.5 ms363.1 ms
ECDSA (P-384)516.2 ms641 ms
ECDSA (P-521)591.8 ms702.8 ms
EdDSA (Ed25519)64.4 ms127.3 ms
EdDSA (Ed448)280.2 ms557.5 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)46.2 ms96.1 ms
ECDSA (P-384)132.8 ms268.6 ms
ECDSA (P-521)318.1 ms636.8 ms
EdDSA (Ed25519)42.2 ms82.9 ms
EdDSA (Ed448)167.6 ms332.2 ms

Key Exchange Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)277.2 ms277.3 ms
Diffie-Hellman (2048 bits)1972.7 ms1973 ms

EC Key Exchange Algorithms

STM32L562 @ 110 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)280.4 ms279.8 ms
ECDH (P-384)491.6 ms498.9 ms
ECDH (P-521)585.2 ms582.9 ms
ECDH (X25519)35.7 ms35.7 ms
ECDH (X448)143.3 ms143.2 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)48.5 ms48.4 ms
ECDH (P-384)135.9 ms135.9 ms
ECDH (P-521)321.7 ms321.6 ms
ECDH (X25519)22.7 ms22.7 ms
ECDH (X448)85.6 ms85.5 ms