Crypto Benchmark on STM32F4 MCU
ARM Cortex-M4 @ 180 MHz

This benchmark conducted on STM32 Nucleo-144 development board with STM32F439ZI MCU will help you in qualifying performance of CycloneCRYPTO (Crypto Library), CycloneSSL (SSL/TLS Library) and CycloneSSH (SSH Library) running on STMicroelectronics STM32F4 series.

Cipher Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.268 MB/s0.265 MB/s----
AES-1281.469 MB/s1.494 MB/s0.781 MB/s0.78 MB/s0.975 MB/s0.974 MB/s
AES-1921.265 MB/s1.296 MB/s0.66 MB/s0.66 MB/s0.877 MB/s0.876 MB/s
AES-2561.11 MB/s1.145 MB/s0.577 MB/s0.577 MB/s0.806 MB/s0.805 MB/s

AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES15.797 MB/s15.797 MB/s----
AES-12840 MB/s39.682 MB/s33.67 MB/s33.333 MB/s37.593 MB/s37.174 MB/s
AES-19239.84 MB/s39.525 MB/s33.444 MB/s33.222 MB/s37.593 MB/s37.174 MB/s
AES-25639.84 MB/s39.682 MB/s33.444 MB/s33.112 MB/s37.453 MB/s37.037 MB/s

Hash Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

AlgorithmSpeed (Software)Speed (Hardware)
MD510.362 MB/s77.519 MB/s
SHA-12.59 MB/s71.428 MB/s
SHA-2242.49 MB/s75.757 MB/s
SHA-2562.49 MB/s75.757 MB/s
SHA-3841.285 MB/s-
SHA-5121.286 MB/s-
SHA3-2240.829 MB/s-
SHA3-2560.783 MB/s-
SHA3-3840.601 MB/s-
SHA3-5120.417 MB/s-

Signature Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

SignatureSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)90 ms16.6 ms
RSA (2048 bits)468.6 ms61.4 ms
RSA (3072 bits)1332.9 ms131.7 ms
DSA (1024 bits)52.9 ms110 ms
DSA (2048 bits)240.1 ms507.9 ms

EC Signature Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

SignatureSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)190.1 ms238.7 ms
ECDSA (P-384)346.2 ms429.3 ms
ECDSA (P-521)374.2 ms444.9 ms
EdDSA (Ed25519)45.5 ms89.8 ms
EdDSA (Ed448)198 ms393.1 ms

Key Exchange Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)182.9 ms183 ms
Diffie-Hellman (2048 bits)1254.2 ms1254.3 ms

EC Key Exchange Algorithms

STM32F4 @ 180 MHz

Benchmark generated with CycloneCRYPTO 2.1.6
Compiled using ARM CC with optimization level 3

AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)182.9 ms182.3 ms
ECDH (P-384)327.3 ms332.3 ms
ECDH (P-521)365.8 ms364.6 ms
ECDH (X25519)25.3 ms25.3 ms
ECDH (X448)101.2 ms101.2 ms