Crypto Benchmark on SAME54 MCU
ARM Cortex-M4F @ 120 MHz

This benchmark conducted on SAM E54 Xplained Pro Evaluation Kit (ATSAME54-XPRO) 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 SAME54 microcontroller.

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

Cipher Algorithms

ATSAME54 @ 120 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.312 MB/s0.309 MB/s----
AES-1281.541 MB/s1.578 MB/s0.828 MB/s0.826 MB/s0.83 MB/s0.825 MB/s
AES-1921.359 MB/s1.394 MB/s0.718 MB/s0.716 MB/s0.771 MB/s0.767 MB/s
AES-2561.211 MB/s1.249 MB/s0.634 MB/s0.632 MB/s0.721 MB/s0.717 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12816.26 MB/s16.233 MB/s--14.471 MB/s14.388 MB/s
AES-19215.267 MB/s15.243 MB/s--13.661 MB/s13.605 MB/s
AES-25614.43 MB/s14.367 MB/s--12.936 MB/s12.87 MB/s

Hash Algorithms

ATSAME54 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD58.305 MB/s-
SHA-11.729 MB/s60.24 MB/s
SHA-2241.695 MB/s67.114 MB/s
SHA-2561.695 MB/s67.114 MB/s
SHA-3840.876 MB/s-
SHA-5120.876 MB/s-
SHA3-2240.563 MB/s-
SHA3-2560.532 MB/s-
SHA3-3840.408 MB/s-
SHA3-5120.283 MB/s-

Signature Algorithms

ATSAME54 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)134.5 ms25.7 ms
RSA (2048 bits)705.3 ms95.2 ms
RSA (3072 bits)2008.3 ms204.8 ms
RSA (4096 bits)4351.7 ms362 ms
DSA (1024 bits)79.6 ms166.5 ms
DSA (2048 bits)363.3 ms771 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)11.7 ms1 ms
RSA (2048 bits)67.9 ms3.3 ms
RSA (3072 bits)205.7 ms6.8 ms
RSA (4096 bits)466.3 ms11.6 ms
DSA (1024 bits)18.1 ms47.6 ms
DSA (2048 bits)72.5 ms195.9 ms

EC Signature Algorithms

ATSAME54 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.6
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)271.3 ms341.4 ms
ECDSA (P-384)499.1 ms620.4 ms
ECDSA (P-521)540.6 ms643.5 ms
EdDSA (Ed25519)67.6 ms133.6 ms
EdDSA (Ed448)295 ms586 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)22.9 ms45.7 ms
ECDSA (P-384)52.7 ms104.7 ms
ECDSA (P-521)112.5 ms224.4 ms

Key Exchange Algorithms

ATSAME54 @ 120 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)272.7 ms273 ms
Diffie-Hellman (2048 bits)1879.6 ms1879.8 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)32.3 ms32.2 ms
Diffie-Hellman (2048 bits)227.4 ms227.3 ms

EC Key Exchange Algorithms

ATSAME54 @ 120 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)260.9 ms260.1 ms
ECDH (P-384)472.3 ms479.9 ms
ECDH (P-521)528.6 ms526.7 ms
ECDH (X25519)37.6 ms37.7 ms
ECDH (X448)150.8 ms150.7 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)22.4 ms22.4 ms
ECDH (P-384)51.4 ms51.3 ms
ECDH (P-521)110.9 ms110.9 ms