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
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.097 MB/s | 0.096 MB/s | - | - | - | - |
AES-128 | 0.469 MB/s | 0.453 MB/s | 0.246 MB/s | 0.246 MB/s | 0.298 MB/s | 0.297 MB/s |
AES-192 | 0.405 MB/s | 0.392 MB/s | 0.21 MB/s | 0.21 MB/s | 0.27 MB/s | 0.27 MB/s |
AES-256 | 0.357 MB/s | 0.346 MB/s | 0.184 MB/s | 0.184 MB/s | 0.248 MB/s | 0.247 MB/s |
Hash Algorithms
STM32F107 @ 72 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 3.177 MB/s |
SHA-1 | 0.733 MB/s |
SHA-224 | 0.726 MB/s |
SHA-256 | 0.726 MB/s |
SHA-384 | 0.415 MB/s |
SHA-512 | 0.415 MB/s |
SHA3-224 | 0.301 MB/s |
SHA3-256 | 0.284 MB/s |
SHA3-384 | 0.218 MB/s |
SHA3-512 | 0.151 MB/s |
Signature Algorithms
STM32F107 @ 72 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 326.2 ms | 56 ms |
RSA (2048 bits) | 1819.4 ms | 205.9 ms |
DSA (1024 bits) | 194.7 ms | 403.1 ms |
DSA (2048 bits) | 931.9 ms | 1954 ms |
EC Signature Algorithms
STM32F107 @ 72 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 595.2 ms | 747.9 ms |
ECDSA (P-384) | 1111.4 ms | 1385.8 ms |
ECDSA (P-521) | 1262.4 ms | 1506.5 ms |
EdDSA (Ed25519) | 179.2 ms | 351.7 ms |
EdDSA (Ed448) | 829.3 ms | 1639.3 ms |
Key Exchange Algorithms
STM32F107 @ 72 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 740.3 ms | 740.7 ms |
Diffie-Hellman (2048 bits) | 5293.7 ms | 5294.2 ms |
EC Key Exchange Algorithms
STM32F107 @ 72 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 570 ms | 568.5 ms |
ECDH (P-384) | 1054.6 ms | 1073 ms |
ECDH (P-521) | 1241 ms | 1237.2 ms |
ECDH (X25519) | 97.2 ms | 98.1 ms |
ECDH (X448) | 411.9 ms | 416.9 ms |