Crypto Benchmark on STM32H7 MCU
ARM Cortex-M7 @ 400 MHz

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

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

Cipher Algorithms

STM32H753 @ 400 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)
3DES2.052 MB/s2.005 MB/s----
AES-1288.326 MB/s8.305 MB/s4.221 MB/s4.244 MB/s4.748 MB/s4.719 MB/s
AES-1927.262 MB/s7.326 MB/s3.656 MB/s3.672 MB/s4.374 MB/s4.349 MB/s
AES-2566.43 MB/s6.548 MB/s3.227 MB/s3.239 MB/s4.056 MB/s4.035 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES18.867 MB/s18.867 MB/s----
AES-12848.309 MB/s47.846 MB/s46.948 MB/s46.728 MB/s49.261 MB/s48.78 MB/s
AES-19248.309 MB/s47.619 MB/s43.29 MB/s43.29 MB/s45.454 MB/s45.248 MB/s
AES-25648.309 MB/s47.619 MB/s43.29 MB/s43.103 MB/s45.454 MB/s45.045 MB/s

Hash Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD542.194 MB/s106.382 MB/s
SHA-111.75 MB/s94.339 MB/s
SHA-22411.074 MB/s106.382 MB/s
SHA-25611.074 MB/s105.263 MB/s
SHA-3844.488 MB/s-
SHA-5124.49 MB/s-
SHA3-2242.458 MB/s-
SHA3-2562.322 MB/s-
SHA3-3841.778 MB/s-
SHA3-5121.233 MB/s-

Signature Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)24.9 ms4.1 ms
RSA (2048 bits)130.8 ms14.4 ms
RSA (3072 bits)374.9 ms30.4 ms
RSA (4096 bits)817.3 ms53.3 ms
DSA (1024 bits)14.4 ms29.1 ms
DSA (2048 bits)65 ms135.1 ms

EC Signature Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)57.6 ms72.1 ms
ECDSA (P-384)103.5 ms127.1 ms
ECDSA (P-521)108.6 ms129.4 ms
EdDSA (Ed25519)13.7 ms27.2 ms
EdDSA (Ed448)58.9 ms117.4 ms

Key Exchange Algorithms

STM32H753 @ 400 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)53.4 ms53.2 ms
Diffie-Hellman (2048 bits)365.9 ms365.3 ms

EC Key Exchange Algorithms

STM32H753 @ 400 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)55.7 ms55.5 ms
ECDH (P-384)97.4 ms98.4 ms
ECDH (P-521)106.2 ms105.9 ms
ECDH (X25519)7.7 ms7.7 ms
ECDH (X448)30.3 ms30.3 ms