Crypto Benchmark on STM32H5 MCU
ARM Cortex-M33 @ 250 MHz

This benchmark conducted on STM32H573I-DK Discovery kit with STM32H573IIK3Q 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 STM32H5 microcontroller.

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

See also software crypto performance comparison: STM32F4 versus STM32H5

Cipher Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • 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.766 MB/s0.746 MB/s----
AES-1283.688 MB/s3.591 MB/s1.959 MB/s1.96 MB/s2.009 MB/s2.008 MB/s
AES-1923.225 MB/s3.156 MB/s1.693 MB/s1.693 MB/s1.861 MB/s1.86 MB/s
AES-2562.866 MB/s2.816 MB/s1.49 MB/s1.491 MB/s1.734 MB/s1.733 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12844.052 MB/s43.478 MB/s23.364 MB/s23.31 MB/s41.152 MB/s40.816 MB/s
AES-25633.444 MB/s32.894 MB/s17.953 MB/s17.889 MB/s31.446 MB/s31.152 MB/s

Hash Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD520.161 MB/s-
SHA-14.591 MB/s112.359 MB/s
SHA-2243.314 MB/s125 MB/s
SHA-2563.313 MB/s123.456 MB/s
SHA-3842.069 MB/s138.888 MB/s
SHA-5122.069 MB/s138.888 MB/s
SHA3-2242.058 MB/s-
SHA3-2561.946 MB/s-
SHA3-3841.493 MB/s-
SHA3-5121.037 MB/s-

Signature Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)51.6 ms8.6 ms
RSA (2048 bits)293.3 ms32 ms
RSA (3072 bits)867.5 ms69 ms
RSA (4096 bits)1921.4 ms122.4 ms
DSA (1024 bits)30.8 ms64.5 ms
DSA (2048 bits)149.9 ms317.4 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)7.8 ms0.6 ms
RSA (2048 bits)48.5 ms1.8 ms
RSA (3072 bits)151.2 ms4.5 ms
RSA (4096 bits)342.6 ms7.7 ms
DSA (1024 bits)9.9 ms22.7 ms
DSA (2048 bits)39.7 ms97.1 ms

EC Signature Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)97.6 ms123.4 ms
ECDSA (P-384)193 ms242 ms
ECDSA (P-521)219.1 ms262.1 ms
EdDSA (Ed25519)28 ms55.4 ms
EdDSA (Ed448)122.9 ms244.6 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)11 ms11.7 ms
ECDSA (P-384)28.8 ms32.2 ms
ECDSA (P-521)66.8 ms76.2 ms
EdDSA (Ed25519)13.2 ms26 ms
EdDSA (Ed448)49.1 ms97.4 ms

Key Exchange Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)120.5 ms120.6 ms
Diffie-Hellman (2048 bits)863.9 ms864.1 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)23.3 ms23.3 ms
Diffie-Hellman (2048 bits)167 ms166.9 ms

EC Key Exchange Algorithms

STM32H573 @ 250 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)93.9 ms93.7 ms
ECDH (P-384)184.5 ms187.7 ms
ECDH (P-521)217 ms216.2 ms
ECDH (X25519)15.4 ms15.3 ms
ECDH (X448)62.2 ms62.2 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)14.5 ms14.5 ms
ECDH (P-384)38.8 ms38.9 ms
ECDH (P-521)93 ms93 ms
ECDH (X25519)7.3 ms7.2 ms
ECDH (X448)25.7 ms25.7 ms