Crypto Benchmark on SAMA5D2 MCU
ARM Cortex-A5 @ 500 MHz

This benchmark conducted on ATSAMA5D2C-XULT Evaluation Kit 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 Microchip SAMA5D2 microcontroller.

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

Cipher Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES1.021 MB/s0.999 MB/s----
AES-1284.721 MB/s4.659 MB/s2.356 MB/s2.383 MB/s2.405 MB/s2.393 MB/s
AES-1924.053 MB/s4.05 MB/s2.038 MB/s2.055 MB/s2.226 MB/s2.216 MB/s
AES-2563.576 MB/s3.553 MB/s1.791 MB/s1.804 MB/s2.071 MB/s2.063 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES5.015 MB/s5.015 MB/s----
AES-12812.61 MB/s12.594 MB/s--12.195 MB/s12.18 MB/s
AES-19212.422 MB/s12.422 MB/s--12.033 MB/s12.019 MB/s
AES-25612.077 MB/s12.077 MB/s--11.695 MB/s11.682 MB/s

Hash Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD534.246 MB/s-
SHA-16.657 MB/s23.809 MB/s
SHA-2246.123 MB/s24.39 MB/s
SHA-2566.127 MB/s24.39 MB/s
SHA-3842.714 MB/s25.906 MB/s
SHA-5122.715 MB/s25.906 MB/s
SHA3-2242.412 MB/s-
SHA3-2562.28 MB/s-
SHA3-3841.75 MB/s-
SHA3-5121.215 MB/s-

Signature Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)37.7 ms7.3 ms
RSA (2048 bits)201.3 ms27.3 ms
RSA (3072 bits)570.9 ms58.8 ms
RSA (4096 bits)1235.7 ms104 ms
DSA (1024 bits)22.8 ms47.2 ms
DSA (2048 bits)103.1 ms217.6 ms

EC Signature Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)86.6 ms108 ms
ECDSA (P-384)154.9 ms188.3 ms
ECDSA (P-521)162.9 ms197.2 ms
EdDSA (Ed25519)17.4 ms34.3 ms
EdDSA (Ed448)75.4 ms150.2 ms

Key Exchange Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)77.9 ms77.9 ms
Diffie-Hellman (2048 bits)532.8 ms532.8 ms

EC Key Exchange Algorithms

ATSAMA5D2 @ 500 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)85.6 ms83.2 ms
ECDH (P-384)143.7 ms144.2 ms
ECDH (P-521)158.3 ms156.9 ms
ECDH (X25519)9.7 ms9.7 ms
ECDH (X448)39 ms39 ms