Crypto Benchmark on STM32WBA MCU
ARM Cortex-M33 @ 100 MHz

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

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

Cipher Algorithms

STM32WBA52 @ 100 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.28 MB/s0.272 MB/s----
AES-1281.317 MB/s1.301 MB/s0.638 MB/s0.663 MB/s0.67 MB/s0.685 MB/s
AES-1921.159 MB/s1.149 MB/s0.561 MB/s0.581 MB/s0.626 MB/s0.639 MB/s
AES-2561.035 MB/s1.029 MB/s0.501 MB/s0.516 MB/s0.587 MB/s0.599 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12815.797 MB/s15.576 MB/s8.92 MB/s8.826 MB/s14.771 MB/s14.577 MB/s
AES-25612.578 MB/s12.437 MB/s6.793 MB/s6.765 MB/s11.862 MB/s11.75 MB/s

Hash Algorithms

STM32WBA52 @ 100 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD57.22 MB/s40.816 MB/s
SHA-11.643 MB/s36.9 MB/s
SHA-2241.165 MB/s39.84 MB/s
SHA-2561.165 MB/s39.682 MB/s
SHA-3840.678 MB/s-
SHA-5120.678 MB/s-
SHA3-2240.644 MB/s-
SHA3-2560.609 MB/s-
SHA3-3840.467 MB/s-
SHA3-5120.325 MB/s-

Signature Algorithms

STM32WBA52 @ 100 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)163.4 ms27.5 ms
RSA (2048 bits)915 ms102.6 ms
RSA (3072 bits)2687 ms220.7 ms
RSA (4096 bits)5926.1 ms391.9 ms
DSA (1024 bits)96.8 ms204.9 ms
DSA (2048 bits)467.8 ms997.6 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)19.3 ms1.7 ms
RSA (2048 bits)121.3 ms4.6 ms
RSA (3072 bits)378 ms11.3 ms
RSA (4096 bits)856.7 ms19.4 ms
DSA (1024 bits)28.6 ms68.9 ms
DSA (2048 bits)113 ms288.1 ms

EC Signature Algorithms

STM32WBA52 @ 100 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using Clang with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)312.7 ms393.8 ms
ECDSA (P-384)602 ms750.6 ms
ECDSA (P-521)701.4 ms835.8 ms
EdDSA (Ed25519)89.1 ms176.7 ms
EdDSA (Ed448)395.5 ms790.8 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)27.5 ms29.3 ms
ECDSA (P-384)71.9 ms80.4 ms
ECDSA (P-521)166.9 ms190.7 ms
EdDSA (Ed25519)39.9 ms78 ms
EdDSA (Ed448)148.1 ms294.4 ms

Key Exchange Algorithms

STM32WBA52 @ 100 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)374 ms374.2 ms
Diffie-Hellman (2048 bits)2652.3 ms2652.7 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)58.2 ms58.2 ms
Diffie-Hellman (2048 bits)417.5 ms417.4 ms

EC Key Exchange Algorithms

STM32WBA52 @ 100 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)302.4 ms301.8 ms
ECDH (P-384)574.5 ms583.6 ms
ECDH (P-521)693.7 ms691.3 ms
ECDH (X25519)49.4 ms49.4 ms
ECDH (X448)202.6 ms202.6 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)37.6 ms37.6 ms
ECDH (P-384)100.1 ms100.1 ms
ECDH (P-521)237.9 ms237.8 ms
ECDH (X25519)22.1 ms22.1 ms
ECDH (X448)78.2 ms78.2 ms