Crypto Benchmark on STM32WB MCU
ARM Cortex-M4 @ 64 MHz

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

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

Cipher Algorithms

STM32WB55 @ 64 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)
3DES0.116 MB/s0.114 MB/s----
AES-1280.602 MB/s0.606 MB/s0.322 MB/s0.32 MB/s0.37 MB/s0.373 MB/s
AES-1920.522 MB/s0.53 MB/s0.274 MB/s0.273 MB/s0.336 MB/s0.34 MB/s
AES-2560.461 MB/s0.471 MB/s0.24 MB/s0.239 MB/s0.311 MB/s0.314 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12810.928 MB/s10.764 MB/s6.053 MB/s6.027 MB/s10.162 MB/s10.04 MB/s
AES-2568.896 MB/s8.756 MB/s4.595 MB/s4.572 MB/s8.312 MB/s8.271 MB/s

Hash Algorithms

STM32WB55 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD53.317 MB/s-
SHA-10.916 MB/s-
SHA-2240.891 MB/s-
SHA-2560.891 MB/s-
SHA-3840.456 MB/s-
SHA-5120.456 MB/s-
SHA3-2240.249 MB/s-
SHA3-2560.236 MB/s-
SHA3-3840.181 MB/s-
SHA3-5120.125 MB/s-

Signature Algorithms

STM32WB55 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)258 ms48.7 ms
RSA (2048 bits)1337.4 ms179.7 ms
RSA (3072 bits)3796.4 ms386.3 ms
DSA (1024 bits)152 ms316.3 ms
DSA (2048 bits)687.6 ms1457 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)61 ms5.2 ms
RSA (2048 bits)381.6 ms14.1 ms
RSA (3072 bits)1186.1 ms35.1 ms

EC Signature Algorithms

STM32WB55 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)541.4 ms679.9 ms
ECDSA (P-384)985.7 ms1222.2 ms
ECDSA (P-521)1068.8 ms1270.1 ms
EdDSA (Ed25519)128.7 ms254.2 ms
EdDSA (Ed448)558.4 ms1108.2 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)79.4 ms165.2 ms
ECDSA (P-384)228.3 ms461.8 ms
ECDSA (P-521)546.7 ms1094.5 ms
EdDSA (Ed25519)97.1 ms191.7 ms
EdDSA (Ed448)352.4 ms699.4 ms

Key Exchange Algorithms

STM32WB55 @ 64 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)517.8 ms518.2 ms
Diffie-Hellman (2048 bits)3548.5 ms3548.8 ms

EC Key Exchange Algorithms

STM32WB55 @ 64 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)520.6 ms519 ms
ECDH (P-384)931.3 ms945.7 ms
ECDH (P-521)1043.7 ms1040.3 ms
ECDH (X25519)71.6 ms71.6 ms
ECDH (X448)285.1 ms285 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)91.3 ms91.2 ms
ECDH (P-384)250.6 ms250.6 ms
ECDH (P-521)582.9 ms582.9 ms
ECDH (X25519)54.5 ms54.5 ms
ECDH (X448)184.4 ms184.4 ms