Crypto Benchmark on SAME51 MCU
ARM Cortex-M4F @ 120 MHz
This benchmark conducted on SAM E51 Curiosity Nano Evaluation Kit (EV76S68A) 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 SAME51 microcontroller.
SAME51 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC 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.313 MB/s | 0.307 MB/s | - | - | - | - |
AES-128 | 1.561 MB/s | 1.577 MB/s | 0.828 MB/s | 0.826 MB/s | 0.83 MB/s | 0.825 MB/s |
AES-192 | 1.369 MB/s | 1.394 MB/s | 0.718 MB/s | 0.716 MB/s | 0.771 MB/s | 0.767 MB/s |
AES-256 | 1.219 MB/s | 1.249 MB/s | 0.634 MB/s | 0.632 MB/s | 0.721 MB/s | 0.717 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 16.26 MB/s | 16.233 MB/s | - | - | 14.492 MB/s | 14.388 MB/s |
AES-192 | 15.29 MB/s | 15.243 MB/s | - | - | 13.661 MB/s | 13.605 MB/s |
AES-256 | 14.43 MB/s | 14.388 MB/s | - | - | 12.936 MB/s | 12.87 MB/s |
Hash Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 8.305 MB/s | - |
SHA-1 | 1.73 MB/s | 60.606 MB/s |
SHA-224 | 1.695 MB/s | 66.666 MB/s |
SHA-256 | 1.695 MB/s | 67.114 MB/s |
SHA-384 | 0.876 MB/s | - |
SHA-512 | 0.876 MB/s | - |
SHA3-224 | 0.565 MB/s | - |
SHA3-256 | 0.534 MB/s | - |
SHA3-384 | 0.409 MB/s | - |
SHA3-512 | 0.284 MB/s | - |
Signature Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 134.6 ms | 25.7 ms |
RSA (2048 bits) | 705.3 ms | 95.2 ms |
RSA (3072 bits) | 2008.4 ms | 204.9 ms |
RSA (4096 bits) | 4351.7 ms | 362.1 ms |
DSA (1024 bits) | 79.7 ms | 166.5 ms |
DSA (2048 bits) | 363.6 ms | 771.2 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
RSA (1024 bits) | 11.6 ms | 1 ms |
RSA (2048 bits) | 67.8 ms | 3.2 ms |
RSA (3072 bits) | 205.7 ms | 6.7 ms |
RSA (4096 bits) | 466.3 ms | 11.7 ms |
DSA (1024 bits) | 18 ms | 47.6 ms |
DSA (2048 bits) | 72.6 ms | 195.9 ms |
EC Signature Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 272.2 ms | 342.2 ms |
ECDSA (P-384) | 500.5 ms | 622.1 ms |
ECDSA (P-521) | 546.3 ms | 649.4 ms |
EdDSA (Ed25519) | 67.6 ms | 133.6 ms |
EdDSA (Ed448) | 295.1 ms | 586.1 ms |
Algorithm | Signature Generation (Hardware) | Signature Verification (Hardware) |
---|---|---|
ECDSA (P-256) | 22.8 ms | 45.6 ms |
ECDSA (P-384) | 52.8 ms | 104.8 ms |
ECDSA (P-521) | 112.5 ms | 224.5 ms |
Key Exchange Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 272.8 ms | 272.9 ms |
Diffie-Hellman (2048 bits) | 1879.6 ms | 1879.9 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
Diffie-Hellman (1024 bits) | 32.2 ms | 32.2 ms |
Diffie-Hellman (2048 bits) | 227.4 ms | 227.3 ms |
EC Key Exchange Algorithms
ATSAME51 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.6
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 261.5 ms | 260.6 ms |
ECDH (P-384) | 473.5 ms | 480.8 ms |
ECDH (P-521) | 533.5 ms | 531.9 ms |
ECDH (X25519) | 37.7 ms | 37.7 ms |
ECDH (X448) | 150.7 ms | 150.7 ms |
Algorithm | Public Key Generation (Hardware) | Shared Secret Computation (Hardware) |
---|---|---|
ECDH (P-256) | 22.4 ms | 22.4 ms |
ECDH (P-384) | 51.3 ms | 51.3 ms |
ECDH (P-521) | 110.9 ms | 110.9 ms |