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

This benchmark conducted on NUCLEO-H753ZI 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.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC1.689 MB/s1.667 MB/s18.832 MB/s18.867 MB/s
3DES-CTR1.682 MB/s1.682 MB/s7.501 MB/s7.496 MB/s
AES128-CBC8.176 MB/s7.733 MB/s48.309 MB/s47.846 MB/s
AES192-CBC7.147 MB/s6.877 MB/s48.309 MB/s47.619 MB/s
AES256-CBC6.345 MB/s6.199 MB/s48.309 MB/s47.619 MB/s
AES128-CTR7.757 MB/s7.757 MB/s47.619 MB/s47.619 MB/s
AES192-CTR6.821 MB/s6.821 MB/s47.393 MB/s47.393 MB/s
AES256-CTR6.09 MB/s6.09 MB/s47.393 MB/s47.393 MB/s
SM4-CBC6.724 MB/s6.72 MB/s--
SM4-CTR6.583 MB/s6.578 MB/s--

AEAD Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
AES128-GCM4.746 MB/s4.716 MB/s49.019 MB/s48.543 MB/s
AES192-GCM4.374 MB/s4.349 MB/s45.248 MB/s44.843 MB/s
AES256-GCM4.055 MB/s4.033 MB/s45.045 MB/s45.045 MB/s
AES128-CCM4.219 MB/s4.215 MB/s46.728 MB/s46.728 MB/s
AES192-CCM3.654 MB/s3.653 MB/s43.29 MB/s43.103 MB/s
AES256-CCM3.227 MB/s3.225 MB/s43.103 MB/s42.918 MB/s
SM4-GCM4.257 MB/s4.24 MB/s--
SM4-CCM3.503 MB/s3.503 MB/s--
Ascon-AEAD1288.156 MB/s8.143 MB/s--
ChaCha20Poly13054.496 MB/s4.492 MB/s--

Hash Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD533.444 MB/s107.526 MB/s
SHA-111.337 MB/s94.339 MB/s
SHA-22411.061 MB/s104.166 MB/s
SHA-25611.061 MB/s105.263 MB/s
SHA-3844.468 MB/s-
SHA-5124.47 MB/s-
SHA3-2242.431 MB/s-
SHA3-2562.299 MB/s-
SHA3-3841.766 MB/s-
SHA3-5121.228 MB/s-
SM39.165 MB/s-
Ascon-Hash2563.127 MB/s-

Signature Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
RSA (1024 bits)26.1 ms4.2 ms
RSA (2048 bits)134.5 ms14.6 ms
RSA (3072 bits)382.3 ms30.8 ms
RSA (4096 bits)829.7 ms53.9 ms
DSA (1024 bits)14.5 ms29.7 ms
DSA (2048 bits)65.4 ms136.4 ms
DSA (3072 bits)138.2 ms290.4 ms

EC Signature Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
ECDSA (secp256r1)19.7 ms17.9 ms
ECDSA (secp384r1)48.3 ms43.7 ms
ECDSA (secp521r1)100.3 ms88.7 ms
ECDSA (brainpoolP256r1)37.6 ms37.6 ms
ECDSA (brainpoolP384r1)96.4 ms96.3 ms
ECDSA (brainpoolP512r1)195.8 ms199.1 ms
SM218.3 ms18.3 ms
EdDSA (Ed25519)5.4 ms5 ms
EdDSA (Ed448)32.9 ms29.6 ms

Key Exchange Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)53.8 ms53.7 ms
Diffie-Hellman (2048 bits)367.3 ms366.9 ms

EC Key Exchange Algorithms

STM32H753 @ 400 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)17.3 ms17.3 ms
ECDH (secp384r1)42.5 ms42.4 ms
ECDH (secp521r1)86.6 ms86.5 ms
ECDH (brainpoolP256r1)35 ms34.9 ms
ECDH (brainpoolP384r1)89.5 ms89.4 ms
ECDH (brainpoolP512r1)181.6 ms181.5 ms
ECDH (SM2)18.3 ms18.3 ms
ECDH (X25519)3.1 ms3.1 ms
ECDH (X448)16.8 ms16.8 ms