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

This benchmark conducted on SAM4C32-EK Evaluation Kit will help you in qualifying performance of CycloneCRYPTO (Crypto Library), CycloneSSL (SSL/TLS Library) and CycloneSSH (SSH Library) running on Microchip SAM4C MCU. Note: Microchip ATSAM4C includes Symmetric Crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.

Cipher Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.143 MB/s0.141 MB/s----
AES-1280.752 MB/s0.725 MB/s0.401 MB/s0.401 MB/s0.479 MB/s0.477 MB/s
AES-1920.649 MB/s0.63 MB/s0.34 MB/s0.34 MB/s0.431 MB/s0.43 MB/s
AES-2560.572 MB/s0.556 MB/s0.298 MB/s0.298 MB/s0.399 MB/s0.397 MB/s

AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES------
AES-12822.075 MB/s22.075 MB/s--20.618 MB/s20.491 MB/s
AES-19221.186 MB/s21.141 MB/s--19.762 MB/s19.685 MB/s
AES-25620.325 MB/s20.283 MB/s--19.083 MB/s18.975 MB/s

Hash Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

AlgorithmSpeed (Software)Speed (Hardware)
MD55.787 MB/s-
SHA-11 MB/s56.818 MB/s
SHA-2241.205 MB/s62.5 MB/s
SHA-2561.205 MB/s62.5 MB/s
SHA-3840.651 MB/s-
SHA-5120.651 MB/s-
SHA3-2240.44 MB/s-
SHA3-2560.416 MB/s-
SHA3-3840.319 MB/s-
SHA3-5120.221 MB/s-

Signature Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

SignatureSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)191.3 ms35.7 ms
RSA (2048 bits)972.5 ms129.8 ms
RSA (3072 bits)2732 ms277.7 ms
RSA (4096 bits)5874 ms488.9 ms
DSA (1024 bits)111.9 ms233.7 ms
DSA (2048 bits)496.7 ms1056.4 ms

EC Signature Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

SignatureSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)414 ms519.6 ms
ECDSA (P-384)745.1 ms925.4 ms
ECDSA (P-521)795.8 ms945.2 ms
EdDSA (Ed25519)94.1 ms184.7 ms
EdDSA (Ed448)402.3 ms794 ms

Key Exchange Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)375.1 ms375.4 ms
Diffie-Hellman (2048 bits)2529.3 ms2529.4 ms

EC Key Exchange Algorithms

SAM4C @ 120 MHz

Benchmark generated with CycloneCRYPTO 2.1.0
Compiled using ARM CC with optimization level 3

AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)397.9 ms396.7 ms
ECDH (P-384)704.7 ms716.3 ms
ECDH (P-521)777.3 ms774.7 ms
ECDH (X25519)51.4 ms51.5 ms
ECDH (X448)201.5 ms201.5 ms