Crypto Benchmark on SAMA5D3 MCU
ARM Cortex-A5 @ 528 MHz

This benchmark conducted on SAMA5D3 Xplained Evaluation Kit (ATSAMA5D3-XPLD) 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 SAMA5D3 microcontroller.

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

Cipher Algorithms

ATSAMA5D3 @ 528 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)
3DES0.918 MB/s0.904 MB/s----
AES-1285.455 MB/s4.518 MB/s2.762 MB/s2.802 MB/s2.993 MB/s2.964 MB/s
AES-1924.746 MB/s3.933 MB/s2.43 MB/s2.453 MB/s2.78 MB/s2.756 MB/s
AES-2564.24 MB/s3.451 MB/s2.158 MB/s2.176 MB/s2.596 MB/s2.575 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12813.106 MB/s13.071 MB/s----
AES-19212.755 MB/s12.755 MB/s----
AES-25612.578 MB/s12.547 MB/s----

Hash Algorithms

ATSAMA5D3 @ 528 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD533.557 MB/s-
SHA-15.717 MB/s24.39 MB/s
SHA-2245.659 MB/s25.252 MB/s
SHA-2565.659 MB/s25.188 MB/s
SHA-3842.856 MB/s26.455 MB/s
SHA-5122.856 MB/s26.109 MB/s
SHA3-2242.141 MB/s-
SHA3-2562.023 MB/s-
SHA3-3841.552 MB/s-
SHA3-5121.078 MB/s-

Signature Algorithms

ATSAMA5D3 @ 528 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)38.8 ms6.2 ms
RSA (2048 bits)219.2 ms22.4 ms
RSA (3072 bits)642.1 ms47.9 ms
RSA (4096 bits)1418.3 ms84.2 ms
DSA (1024 bits)23.8 ms48.3 ms
DSA (2048 bits)110.9 ms229.8 ms

EC Signature Algorithms

ATSAMA5D3 @ 528 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)97.2 ms122.2 ms
ECDSA (P-384)176.4 ms214.6 ms
ECDSA (P-521)186.9 ms224.2 ms
EdDSA (Ed25519)20.9 ms41.5 ms
EdDSA (Ed448)92.2 ms183.8 ms

Key Exchange Algorithms

ATSAMA5D3 @ 528 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)91.4 ms91.5 ms
Diffie-Hellman (2048 bits)642.7 ms642.8 ms

EC Key Exchange Algorithms

ATSAMA5D3 @ 528 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)96.2 ms95.7 ms
ECDH (P-384)163.9 ms164.3 ms
ECDH (P-521)182.4 ms180.6 ms
ECDH (X25519)11.6 ms11.6 ms
ECDH (X448)47.6 ms47.5 ms