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.0
- • Compiled using EWARM with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
3DES-CBC | 0.848 MB/s | 0.836 MB/s | 8.149 MB/s | 8.149 MB/s |
3DES-CTR | 0.84 MB/s | 0.84 MB/s | - | - |
AES128-CBC | 3.772 MB/s | 3.723 MB/s | 12.658 MB/s | 12.658 MB/s |
AES192-CBC | 3.239 MB/s | 3.234 MB/s | 12.254 MB/s | 12.254 MB/s |
AES256-CBC | 2.858 MB/s | 2.836 MB/s | 12.091 MB/s | 12.091 MB/s |
AES128-CTR | 3.684 MB/s | 3.684 MB/s | 12.61 MB/s | 12.61 MB/s |
AES192-CTR | 3.175 MB/s | 3.174 MB/s | 12.195 MB/s | 12.21 MB/s |
AES256-CTR | 2.808 MB/s | 2.807 MB/s | 12.048 MB/s | 12.033 MB/s |
SM4-CBC | 3.929 MB/s | 3.838 MB/s | - | - |
SM4-CTR | 3.802 MB/s | 3.802 MB/s | - | - |
AEAD Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
---|---|---|
AES128-GCM | 1.923 MB/s | 1.91 MB/s |
AES192-GCM | 1.778 MB/s | 1.769 MB/s |
AES256-GCM | 1.655 MB/s | 1.647 MB/s |
AES128-CCM | 1.879 MB/s | 1.899 MB/s |
AES192-CCM | 1.627 MB/s | 1.638 MB/s |
AES256-CCM | 1.428 MB/s | 1.438 MB/s |
SM4-GCM | 1.953 MB/s | 1.942 MB/s |
SM4-CCM | 1.943 MB/s | 1.976 MB/s |
Ascon-AEAD128 | 2.982 MB/s | 2.962 MB/s |
ChaCha20Poly1305 | 2.935 MB/s | 2.933 MB/s |
Hash Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 20.661 MB/s | - |
SHA-1 | 5.316 MB/s | 23.364 MB/s |
SHA-224 | 4.833 MB/s | 24.271 MB/s |
SHA-256 | 4.833 MB/s | 24.213 MB/s |
SHA-384 | 2.179 MB/s | 25.839 MB/s |
SHA-512 | 2.179 MB/s | 25.51 MB/s |
SHA3-224 | 1.894 MB/s | - |
SHA3-256 | 1.792 MB/s | - |
SHA3-384 | 1.379 MB/s | - |
SHA3-512 | 0.961 MB/s | - |
SM3 | 3.877 MB/s | - |
Ascon-Hash256 | 1.132 MB/s | - |
Signature Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
RSA (1024 bits) | 49.1 ms | 9.1 ms |
RSA (2048 bits) | 258.8 ms | 33.4 ms |
RSA (3072 bits) | 729.3 ms | 72 ms |
RSA (4096 bits) | 1573.1 ms | 127.2 ms |
DSA (1024 bits) | 28.2 ms | 58.5 ms |
DSA (2048 bits) | 128.1 ms | 270.4 ms |
EC Signature Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 30.9 ms | 29.2 ms |
ECDSA (secp384r1) | 78.3 ms | 72.2 ms |
ECDSA (secp521r1) | 168.1 ms | 150.1 ms |
ECDSA (brainpoolP256r1) | 59.1 ms | 59.9 ms |
ECDSA (brainpoolP384r1) | 153.6 ms | 154.9 ms |
ECDSA (brainpoolP512r1) | 314.9 ms | 322.2 ms |
SM2 | 27.2 ms | 27.2 ms |
EdDSA (Ed25519) | 10.5 ms | 9.5 ms |
EdDSA (Ed448) | 45 ms | 40.4 ms |
Key Exchange Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 99.5 ms | 99.5 ms |
Diffie-Hellman (2048 bits) | 675 ms | 675.1 ms |
EC Key Exchange Algorithms
SAMA5D3 @ 528 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using EWARM with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 27.2 ms | 27.2 ms |
ECDH (secp384r1) | 68.8 ms | 68.7 ms |
ECDH (secp521r1) | 145 ms | 144.8 ms |
ECDH (brainpoolP256r1) | 54.9 ms | 54.8 ms |
ECDH (brainpoolP384r1) | 142.5 ms | 142.3 ms |
ECDH (brainpoolP512r1) | 291.9 ms | 291.7 ms |
ECDH (SM2) | 27.3 ms | 27.1 ms |
ECDH (X25519) | 5.8 ms | 5.7 ms |
ECDH (X448) | 23.1 ms | 23.1 ms |