Crypto Benchmark on STM32F1 MCU
ARM Cortex-M3 @ 72 MHz

This benchmark conducted on STM3210C-EVAL Evaluation board with STM32F107VC 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 STM32F1 microcontroller.

Cipher Algorithms

STM32F107 @ 72 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.097 MB/s0.096 MB/s----
AES-1280.469 MB/s0.453 MB/s0.246 MB/s0.246 MB/s0.298 MB/s0.297 MB/s
AES-1920.405 MB/s0.392 MB/s0.21 MB/s0.21 MB/s0.27 MB/s0.27 MB/s
AES-2560.357 MB/s0.346 MB/s0.184 MB/s0.184 MB/s0.248 MB/s0.247 MB/s

Hash Algorithms

STM32F107 @ 72 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)
MD53.177 MB/s
SHA-10.733 MB/s
SHA-2240.726 MB/s
SHA-2560.726 MB/s
SHA-3840.415 MB/s
SHA-5120.415 MB/s
SHA3-2240.301 MB/s
SHA3-2560.284 MB/s
SHA3-3840.218 MB/s
SHA3-5120.151 MB/s

Signature Algorithms

STM32F107 @ 72 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)326.2 ms56 ms
RSA (2048 bits)1819.4 ms205.9 ms
DSA (1024 bits)194.7 ms403.1 ms
DSA (2048 bits)931.9 ms1954 ms

EC Signature Algorithms

STM32F107 @ 72 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)595.2 ms747.9 ms
ECDSA (P-384)1111.4 ms1385.8 ms
ECDSA (P-521)1262.4 ms1506.5 ms
EdDSA (Ed25519)179.2 ms351.7 ms
EdDSA (Ed448)829.3 ms1639.3 ms

Key Exchange Algorithms

STM32F107 @ 72 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)740.3 ms740.7 ms
Diffie-Hellman (2048 bits)5293.7 ms5294.2 ms

EC Key Exchange Algorithms

STM32F107 @ 72 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)570 ms568.5 ms
ECDH (P-384)1054.6 ms1073 ms
ECDH (P-521)1241 ms1237.2 ms
ECDH (X25519)97.2 ms98.1 ms
ECDH (X448)411.9 ms416.9 ms