Crypto Benchmark on STM32MP13 MCU
ARM Cortex-A7 @ 650 MHz

This benchmark conducted on STM32MP135F-DK Discovery kit with STM32MP135F MPU 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 STM32MP13 microcontroller.

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

Cipher Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES2.423 MB/s2.32 MB/s----
AES-12811.16 MB/s8.196 MB/s6.92 MB/s7.002 MB/s7.032 MB/s6.997 MB/s
AES-1929.94 MB/s7.112 MB/s5.952 MB/s6.016 MB/s6.518 MB/s6.489 MB/s
AES-2568.96 MB/s6.321 MB/s5.265 MB/s5.316 MB/s6.027 MB/s5.998 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES12.787 MB/s12.787 MB/s----
AES-12823.474 MB/s23.201 MB/s21.881 MB/s21.881 MB/s22.172 MB/s22.172 MB/s
AES-19223.474 MB/s23.148 MB/s21.881 MB/s21.834 MB/s22.172 MB/s22.172 MB/s
AES-25623.419 MB/s23.201 MB/s21.881 MB/s21.881 MB/s22.123 MB/s22.123 MB/s

Hash Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD551.02 MB/s-
SHA-112.903 MB/s75.187 MB/s
SHA-22411.467 MB/s80.645 MB/s
SHA-25611.467 MB/s80.645 MB/s
SHA-3845.455 MB/s85.47 MB/s
SHA-5125.458 MB/s86.206 MB/s
SHA3-2245.277 MB/s49.751 MB/s
SHA3-2564.992 MB/s48.78 MB/s
SHA3-3843.849 MB/s48.076 MB/s
SHA3-5122.688 MB/s46.296 MB/s

Signature Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)26.3 ms3.4 ms
RSA (2048 bits)155 ms12.2 ms
RSA (3072 bits)465.1 ms26.2 ms
RSA (4096 bits)1041.4 ms46 ms
DSA (1024 bits)14.9 ms30.1 ms
DSA (2048 bits)74.9 ms154.2 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)2.6 ms0.3 ms
RSA (2048 bits)13.5 ms0.7 ms
RSA (3072 bits)40.4 ms1.6 ms
RSA (4096 bits)88.8 ms2.7 ms
DSA (1024 bits)3.3 ms7.4 ms
DSA (2048 bits)12 ms28.5 ms

EC Signature Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)49.1 ms60.7 ms
ECDSA (P-384)95 ms114.8 ms
ECDSA (P-521)114.8 ms136.2 ms
EdDSA (Ed25519)8.7 ms17.2 ms
EdDSA (Ed448)40.6 ms80.9 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)4 ms4.6 ms
ECDSA (P-384)9.7 ms11.2 ms
ECDSA (P-521)22.6 ms26.4 ms

Key Exchange Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)66.7 ms66.7 ms
Diffie-Hellman (2048 bits)481.4 ms481.3 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)6.5 ms6.5 ms
Diffie-Hellman (2048 bits)43 ms42.9 ms

EC Key Exchange Algorithms

STM32MP135 @ 650 MHz

  • Benchmark generated with CycloneCRYPTO 2.3.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)48.8 ms48.4 ms
ECDH (P-384)89.3 ms89.4 ms
ECDH (P-521)112.7 ms112.6 ms
ECDH (X25519)4.8 ms4.8 ms
ECDH (X448)20.7 ms20.8 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)4.8 ms4.8 ms
ECDH (P-384)12 ms12 ms
ECDH (P-521)30.4 ms30.5 ms