Crypto Benchmark on SAM4E MCU
ARM Cortex-M4 @ 120 MHz

This benchmark conducted on SAM4E Xplained Pro Evaluation Kit (ATSAM4E-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 SAM4E microcontroller.

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

Cipher Algorithms

ATSAM4E @ 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.221 MB/s0.217 MB/s----
AES-1281.194 MB/s1.243 MB/s0.657 MB/s0.677 MB/s0.637 MB/s0.63 MB/s
AES-1921.067 MB/s1.116 MB/s0.58 MB/s0.597 MB/s0.587 MB/s0.585 MB/s
AES-2560.968 MB/s1.012 MB/s0.519 MB/s0.532 MB/s0.549 MB/s0.55 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12822.026 MB/s22.026 MB/s----
AES-19221.231 MB/s21.186 MB/s----
AES-25620.449 MB/s20.408 MB/s----

Hash Algorithms

ATSAM4E @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD55.858 MB/s-
SHA-11.608 MB/s-
SHA-2241.551 MB/s-
SHA-2561.551 MB/s-
SHA-3840.762 MB/s-
SHA-5120.762 MB/s-
SHA3-2240.34 MB/s-
SHA3-2560.321 MB/s-
SHA3-3840.246 MB/s-
SHA3-5120.171 MB/s-

Signature Algorithms

ATSAM4E @ 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.7 ms29.4 ms
RSA (2048 bits)836.3 ms109 ms
RSA (3072 bits)2390.9 ms234.6 ms
RSA (4096 bits)5193.7 ms414.7 ms
DSA (1024 bits)94 ms195.3 ms
DSA (2048 bits)429.8 ms908.4 ms

EC Signature Algorithms

ATSAM4E @ 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)330.8 ms415.6 ms
ECDSA (P-384)603.8 ms749.3 ms
ECDSA (P-521)666.4 ms792.5 ms
EdDSA (Ed25519)73.6 ms145.4 ms
EdDSA (Ed448)318.4 ms631 ms

Key Exchange Algorithms

ATSAM4E @ 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)327.1 ms327.4 ms
Diffie-Hellman (2048 bits)2259.1 ms2259.5 ms

EC Key Exchange Algorithms

ATSAM4E @ 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)318 ms317 ms
ECDH (P-384)570.3 ms579 ms
ECDH (P-521)651.1 ms649 ms
ECDH (X25519)41.1 ms41.1 ms
ECDH (X448)162.2 ms162.2 ms