Crypto Benchmark on Tiva TM4C129 MCU
ARM Cortex-M4F @ 120 MHz

This benchmark conducted on TM4C1294 Connected LaunchPad™ Evaluation Kit (EK-TM4C1294XL) 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 Texas Instruments Tiva TM4C129 microcontroller.

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

Cipher Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • 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.153 MB/s0.147 MB/s----
AES-1280.758 MB/s0.741 MB/s0.407 MB/s0.406 MB/s0.488 MB/s0.487 MB/s
AES-1920.656 MB/s0.644 MB/s0.347 MB/s0.346 MB/s0.443 MB/s0.442 MB/s
AES-2560.578 MB/s0.57 MB/s0.302 MB/s0.302 MB/s0.405 MB/s0.404 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES10.764 MB/s10.799 MB/s----
AES-12813.458 MB/s13.422 MB/s--12.69 MB/s12.706 MB/s
AES-19212.853 MB/s12.82 MB/s--12.135 MB/s12.195 MB/s
AES-25612.345 MB/s12.315 MB/s--11.682 MB/s11.723 MB/s

Hash Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD55.181 MB/s39.682 MB/s
SHA-11.035 MB/s39.062 MB/s
SHA-2241.172 MB/s38.167 MB/s
SHA-2561.172 MB/s38.167 MB/s
SHA-3840.731 MB/s-
SHA-5120.731 MB/s-
SHA3-2240.558 MB/s-
SHA3-2560.527 MB/s-
SHA3-3840.404 MB/s-
SHA3-5120.28 MB/s-

Signature Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)158.2 ms27.6 ms
RSA (2048 bits)799.8 ms98 ms
DSA (1024 bits)91.9 ms187.6 ms
DSA (2048 bits)402.7 ms843.5 ms

EC Signature Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)360.9 ms452.4 ms
ECDSA (P-384)636.2 ms784 ms
ECDSA (P-521)664 ms787.1 ms
EdDSA (Ed25519)80.7 ms157.6 ms
EdDSA (Ed448)357.1 ms698.3 ms

Key Exchange Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)317 ms317.2 ms
Diffie-Hellman (2048 bits)2130.6 ms2130.7 ms

EC Key Exchange Algorithms

TM4C129 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)348.6 ms347.3 ms
ECDH (P-384)598.7 ms606.6 ms
ECDH (P-521)646.3 ms644.3 ms
ECDH (X25519)43.5 ms43.5 ms
ECDH (X448)174.2 ms174.2 ms