Crypto Benchmark on SAMA5D2 MCU
ARM Cortex-A5 @ 500 MHz
This benchmark conducted on ATSAMA5D2C-XULT Evaluation Kit 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 SAMA5D2 microcontroller.
SAMA5D2 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
ATSAMA5D2 @ 500 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 | 1.021 MB/s | 0.999 MB/s | - | - | - | - |
AES-128 | 4.721 MB/s | 4.659 MB/s | 2.356 MB/s | 2.383 MB/s | 2.405 MB/s | 2.393 MB/s |
AES-192 | 4.053 MB/s | 4.05 MB/s | 2.038 MB/s | 2.055 MB/s | 2.226 MB/s | 2.216 MB/s |
AES-256 | 3.576 MB/s | 3.553 MB/s | 1.791 MB/s | 1.804 MB/s | 2.071 MB/s | 2.063 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
3DES | 5.015 MB/s | 5.015 MB/s | - | - | - | - |
AES-128 | 12.61 MB/s | 12.594 MB/s | - | - | 12.195 MB/s | 12.18 MB/s |
AES-192 | 12.422 MB/s | 12.422 MB/s | - | - | 12.033 MB/s | 12.019 MB/s |
AES-256 | 12.077 MB/s | 12.077 MB/s | - | - | 11.695 MB/s | 11.682 MB/s |
Hash Algorithms
ATSAMA5D2 @ 500 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using GCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 34.246 MB/s | - |
SHA-1 | 6.657 MB/s | 23.809 MB/s |
SHA-224 | 6.123 MB/s | 24.39 MB/s |
SHA-256 | 6.127 MB/s | 24.39 MB/s |
SHA-384 | 2.714 MB/s | 25.906 MB/s |
SHA-512 | 2.715 MB/s | 25.906 MB/s |
SHA3-224 | 2.412 MB/s | - |
SHA3-256 | 2.28 MB/s | - |
SHA3-384 | 1.75 MB/s | - |
SHA3-512 | 1.215 MB/s | - |
Signature Algorithms
ATSAMA5D2 @ 500 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) | 37.7 ms | 7.3 ms |
RSA (2048 bits) | 201.3 ms | 27.3 ms |
RSA (3072 bits) | 570.9 ms | 58.8 ms |
RSA (4096 bits) | 1235.7 ms | 104 ms |
DSA (1024 bits) | 22.8 ms | 47.2 ms |
DSA (2048 bits) | 103.1 ms | 217.6 ms |
EC Signature Algorithms
ATSAMA5D2 @ 500 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) | 86.6 ms | 108 ms |
ECDSA (P-384) | 154.9 ms | 188.3 ms |
ECDSA (P-521) | 162.9 ms | 197.2 ms |
EdDSA (Ed25519) | 17.4 ms | 34.3 ms |
EdDSA (Ed448) | 75.4 ms | 150.2 ms |
Key Exchange Algorithms
ATSAMA5D2 @ 500 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) | 77.9 ms | 77.9 ms |
Diffie-Hellman (2048 bits) | 532.8 ms | 532.8 ms |
EC Key Exchange Algorithms
ATSAMA5D2 @ 500 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) | 85.6 ms | 83.2 ms |
ECDH (P-384) | 143.7 ms | 144.2 ms |
ECDH (P-521) | 158.3 ms | 156.9 ms |
ECDH (X25519) | 9.7 ms | 9.7 ms |
ECDH (X448) | 39 ms | 39 ms |