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
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Encryption (Software) | Decryption (Software) | Encryption (Hardware) | Decryption (Hardware) |
|---|---|---|---|---|
| 3DES-CBC | 0.849 MB/s | 0.838 MB/s | 8.156 MB/s | 8.156 MB/s |
| 3DES-CTR | 0.842 MB/s | 0.842 MB/s | 2.714 MB/s | 2.713 MB/s |
| AES128-CBC | 3.775 MB/s | 3.728 MB/s | 12.674 MB/s | 12.658 MB/s |
| AES192-CBC | 3.244 MB/s | 3.239 MB/s | 12.269 MB/s | 12.254 MB/s |
| AES256-CBC | 2.862 MB/s | 2.841 MB/s | 12.106 MB/s | 12.091 MB/s |
| AES128-CTR | 3.691 MB/s | 3.69 MB/s | 12.61 MB/s | 12.594 MB/s |
| AES192-CTR | 3.18 MB/s | 3.18 MB/s | 12.224 MB/s | 12.21 MB/s |
| AES256-CTR | 2.812 MB/s | 2.812 MB/s | 12.048 MB/s | 12.048 MB/s |
| SM4-CBC | 3.937 MB/s | 3.844 MB/s | - | - |
| SM4-CTR | 3.809 MB/s | 3.809 MB/s | - | - |
AEAD Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Encryption (Software) | Decryption (Software) |
|---|---|---|
| AES128-GCM | 1.923 MB/s | 1.912 MB/s |
| AES192-GCM | 1.78 MB/s | 1.771 MB/s |
| AES256-GCM | 1.657 MB/s | 1.649 MB/s |
| AES128-CCM | 1.883 MB/s | 1.902 MB/s |
| AES192-CCM | 1.629 MB/s | 1.64 MB/s |
| AES256-CCM | 1.431 MB/s | 1.44 MB/s |
| SM4-GCM | 1.955 MB/s | 1.944 MB/s |
| SM4-CCM | 1.947 MB/s | 1.98 MB/s |
| Ascon-AEAD128 | 2.982 MB/s | 2.966 MB/s |
| ChaCha20Poly1305 | 2.944 MB/s | 2.942 MB/s |
Hash Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Speed (Software) | Speed (Hardware) |
|---|---|---|
| MD5 | 20.703 MB/s | - |
| SHA-1 | 5.324 MB/s | 23.31 MB/s |
| SHA-224 | 4.84 MB/s | 24.271 MB/s |
| SHA-256 | 4.84 MB/s | 24.213 MB/s |
| SHA-384 | 2.182 MB/s | 25.906 MB/s |
| SHA-512 | 2.182 MB/s | 25.575 MB/s |
| SHA3-224 | 1.89 MB/s | - |
| SHA3-256 | 1.788 MB/s | - |
| SHA3-384 | 1.376 MB/s | - |
| SHA3-512 | 0.959 MB/s | - |
| SM3 | 3.885 MB/s | - |
| Ascon-Hash256 | 1.135 MB/s | - |
Signature Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Generation (Software) | Verification (Software) |
|---|---|---|
| RSA (1024 bits) | 49.4 ms | 9.2 ms |
| RSA (2048 bits) | 259.8 ms | 34.2 ms |
| RSA (3072 bits) | 731.8 ms | 73.7 ms |
| RSA (4096 bits) | 1577.1 ms | 130.3 ms |
| DSA (1024 bits) | 28.4 ms | 59.3 ms |
| DSA (2048 bits) | 129.3 ms | 273.6 ms |
EC Signature Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Generation (Software) | Verification (Software) |
|---|---|---|
| ECDSA (secp256r1) | 31.5 ms | 28.1 ms |
| ECDSA (secp384r1) | 78.3 ms | 71.2 ms |
| ECDSA (secp521r1) | 167.8 ms | 148.8 ms |
| ECDSA (brainpoolP256r1) | 59 ms | 59.2 ms |
| ECDSA (brainpoolP384r1) | 153.4 ms | 153.8 ms |
| ECDSA (brainpoolP512r1) | 314.5 ms | 320.6 ms |
| SM2 | 59.3 ms | 23.7 ms |
| EdDSA (Ed25519) | 10.4 ms | 9.3 ms |
| EdDSA (Ed448) | 45 ms | 40.3 ms |
Key Exchange Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
|---|---|---|
| Diffie-Hellman (1024 bits) | 99.3 ms | 99.4 ms |
| Diffie-Hellman (2048 bits) | 673.7 ms | 673.8 ms |
EC Key Exchange Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.4
- • Compiled using EWARM with optimization level 3
| Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
|---|---|---|
| ECDH (secp256r1) | 27.9 ms | 27.7 ms |
| ECDH (secp384r1) | 68.8 ms | 68.7 ms |
| ECDH (secp521r1) | 144.9 ms | 144.7 ms |
| ECDH (brainpoolP256r1) | 54.9 ms | 54.8 ms |
| ECDH (brainpoolP384r1) | 142.3 ms | 142.2 ms |
| ECDH (brainpoolP512r1) | 291.6 ms | 291.4 ms |
| ECDH (SM2) | 27.2 ms | 27.1 ms |
| ECDH (X25519) | 5.8 ms | 5.8 ms |
| ECDH (X448) | 23.1 ms | 23.1 ms |