Crypto Benchmark on STM32G0 MCU
ARM Cortex-M0+ @ 64 MHz

This benchmark conducted on STM32G0C1E-EV Evaluation board with STM32G0C1 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 STM32G0 microcontroller.

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

Cipher Algorithms

STM32G0C1 @ 64 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.072 MB/s0.072 MB/s----
AES-1280.365 MB/s0.346 MB/s0.185 MB/s0.185 MB/s0.213 MB/s0.213 MB/s
AES-1920.315 MB/s0.3 MB/s0.158 MB/s0.158 MB/s0.195 MB/s0.194 MB/s
AES-2560.277 MB/s0.265 MB/s0.139 MB/s0.139 MB/s0.179 MB/s0.179 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-1284.823 MB/s4.789 MB/s3.459 MB/s3.447 MB/s4.625 MB/s4.604 MB/s
AES-2564.29 MB/s4.26 MB/s2.929 MB/s2.923 MB/s4.111 MB/s4.105 MB/s

Hash Algorithms

STM32G0C1 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD52.735 MB/s-
SHA-10.525 MB/s-
SHA-2240.419 MB/s-
SHA-2560.419 MB/s-
SHA-3840.269 MB/s-
SHA-5120.269 MB/s-
SHA3-2240.184 MB/s-
SHA3-2560.173 MB/s-
SHA3-3840.133 MB/s-
SHA3-5120.092 MB/s-

Signature Algorithms

STM32G0C1 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)977.6 ms102.1 ms
RSA (2048 bits)6735.4 ms388.4 ms
DSA (1024 bits)589.9 ms1185.2 ms
DSA (2048 bits)3356.4 ms6806.2 ms

EC Signature Algorithms

STM32G0C1 @ 64 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)887.6 ms1121 ms
ECDSA (P-384)1916.3 ms2370.5 ms
ECDSA (P-521)3050.7 ms3689.3 ms
EdDSA (Ed25519)469 ms933.3 ms
EdDSA (Ed448)2319.7 ms4621.1 ms

Key Exchange Algorithms

STM32G0C1 @ 64 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)3099.3 ms3100.6 ms

EC Key Exchange Algorithms

STM32G0C1 @ 64 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)871.5 ms869.3 ms
ECDH (P-384)1826.3 ms1840.9 ms
ECDH (P-521)3062.7 ms3058.6 ms
ECDH (X25519)261.8 ms261.8 ms
ECDH (X448)1167.7 ms1167.7 ms