Crypto Benchmark on STM32C0 MCU
ARM Cortex-M0+ @ 48 MHz

This benchmark conducted on NUCLEO-C092RC evaluation board with STM32C092RC 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 STM32C0 microcontroller.

Cipher Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
3DES-CBC0.061 MB/s0.061 MB/s
3DES-CTR0.061 MB/s0.061 MB/s
AES128-CBC0.275 MB/s0.265 MB/s
AES192-CBC0.237 MB/s0.229 MB/s
AES256-CBC0.208 MB/s0.202 MB/s
AES128-CTR0.269 MB/s0.269 MB/s
AES192-CTR0.233 MB/s0.233 MB/s
AES256-CTR0.205 MB/s0.205 MB/s
SM4-CBC0.281 MB/s0.269 MB/s
SM4-CTR0.275 MB/s0.275 MB/s

AEAD Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
AES128-GCM0.153 MB/s0.153 MB/s
AES192-GCM0.14 MB/s0.14 MB/s
AES256-GCM0.13 MB/s0.129 MB/s
AES128-CCM0.139 MB/s0.139 MB/s
AES192-CCM0.119 MB/s0.119 MB/s
AES256-CCM0.104 MB/s0.104 MB/s
SM4-GCM0.155 MB/s0.155 MB/s
SM4-CCM0.142 MB/s0.142 MB/s
Ascon-AEAD1280.242 MB/s0.239 MB/s
ChaCha20Poly13050.205 MB/s0.205 MB/s

Hash Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed
(Software)
MD51.664 MB/s
SHA-10.39 MB/s
SHA-2240.277 MB/s
SHA-2560.277 MB/s
SHA-3840.173 MB/s
SHA-5120.173 MB/s
SHA3-2240.117 MB/s
SHA3-2560.111 MB/s
SHA3-3840.085 MB/s
SHA3-5120.059 MB/s
SM30.256 MB/s
Ascon-Hash2560.09 MB/s

Signature Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)1395 ms148.8 ms
RSA (2048 bits)9494.4 ms561.7 ms
DSA (1024 bits)830.6 ms1673.3 ms
DSA (2048 bits)4703.7 ms9549.5 ms

EC Signature Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)786.3 ms718.1 ms
ECDSA (secp384r1)2282.7 ms2091.9 ms
ECDSA (secp521r1)5556.3 ms4917.5 ms
ECDSA (brainpoolP256r1)1894.8 ms1919.3 ms
ECDSA (brainpoolP384r1)5629.8 ms5669.7 ms
ECDSA (brainpoolP512r1)12523.7 ms12785.3 ms
SM21492.3 ms579.3 ms
EdDSA (Ed25519)591.1 ms545.1 ms
EdDSA (Ed448)2345.9 ms2131.2 ms

Key Exchange Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)4326.4 ms4322.4 ms

EC Key Exchange Algorithms

STM32C092 @ 48 MHz

  • Benchmark generated with CycloneCRYPTO 2.6.2
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)664.2 ms663.2 ms
ECDH (secp384r1)1929.9 ms1928.9 ms
ECDH (secp521r1)4701.9 ms4699.9 ms
ECDH (brainpoolP256r1)1753.2 ms1752.4 ms
ECDH (brainpoolP384r1)5209 ms5207.9 ms
ECDH (brainpoolP512r1)11590.6 ms11589.2 ms
ECDH (SM2)664.3 ms663.4 ms
ECDH (X25519)329.3 ms329.3 ms
ECDH (X448)1184.4 ms1184.4 ms