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
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.918 MB/s | 0.904 MB/s | - | - | - | - |
AES-128 | 5.455 MB/s | 4.518 MB/s | 2.762 MB/s | 2.802 MB/s | 2.993 MB/s | 2.964 MB/s |
AES-192 | 4.746 MB/s | 3.933 MB/s | 2.43 MB/s | 2.453 MB/s | 2.78 MB/s | 2.756 MB/s |
AES-256 | 4.24 MB/s | 3.451 MB/s | 2.158 MB/s | 2.176 MB/s | 2.596 MB/s | 2.575 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 13.106 MB/s | 13.071 MB/s | - | - | - | - |
AES-192 | 12.755 MB/s | 12.755 MB/s | - | - | - | - |
AES-256 | 12.578 MB/s | 12.547 MB/s | - | - | - | - |
Hash Algorithms
ATSAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 33.557 MB/s | - |
SHA-1 | 5.717 MB/s | 24.39 MB/s |
SHA-224 | 5.659 MB/s | 25.252 MB/s |
SHA-256 | 5.659 MB/s | 25.188 MB/s |
SHA-384 | 2.856 MB/s | 26.455 MB/s |
SHA-512 | 2.856 MB/s | 26.109 MB/s |
SHA3-224 | 2.141 MB/s | - |
SHA3-256 | 2.023 MB/s | - |
SHA3-384 | 1.552 MB/s | - |
SHA3-512 | 1.078 MB/s | - |
Signature Algorithms
ATSAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 38.8 ms | 6.2 ms |
RSA (2048 bits) | 219.2 ms | 22.4 ms |
RSA (3072 bits) | 642.1 ms | 47.9 ms |
RSA (4096 bits) | 1418.3 ms | 84.2 ms |
DSA (1024 bits) | 23.8 ms | 48.3 ms |
DSA (2048 bits) | 110.9 ms | 229.8 ms |
EC Signature Algorithms
ATSAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 97.2 ms | 122.2 ms |
ECDSA (P-384) | 176.4 ms | 214.6 ms |
ECDSA (P-521) | 186.9 ms | 224.2 ms |
EdDSA (Ed25519) | 20.9 ms | 41.5 ms |
EdDSA (Ed448) | 92.2 ms | 183.8 ms |
Key Exchange Algorithms
ATSAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 91.4 ms | 91.5 ms |
Diffie-Hellman (2048 bits) | 642.7 ms | 642.8 ms |
EC Key Exchange Algorithms
ATSAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 96.2 ms | 95.7 ms |
ECDH (P-384) | 163.9 ms | 164.3 ms |
ECDH (P-521) | 182.4 ms | 180.6 ms |
ECDH (X25519) | 11.6 ms | 11.6 ms |
ECDH (X448) | 47.6 ms | 47.5 ms |