Crypto Benchmark on SAME70 MCU
ARM Cortex-M7 @ 300 MHz
This benchmark conducted on SAM E70 Xplained Evaluation Kit (ATSAME70-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 SAME70 microcontroller.
SAME70 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • 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 | 1.583 MB/s | 1.544 MB/s | - | - | - | - |
AES-128 | 6.242 MB/s | 6.234 MB/s | 3.212 MB/s | 3.239 MB/s | 3.607 MB/s | 3.599 MB/s |
AES-192 | 5.44 MB/s | 5.491 MB/s | 2.777 MB/s | 2.798 MB/s | 3.321 MB/s | 3.315 MB/s |
AES-256 | 4.826 MB/s | 4.911 MB/s | 2.447 MB/s | 2.464 MB/s | 3.076 MB/s | 3.072 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
AES-128 | 29.761 MB/s | 29.673 MB/s | - | - | 27.247 MB/s | 27.247 MB/s |
AES-192 | 28.571 MB/s | 28.571 MB/s | - | - | 26.385 MB/s | 26.315 MB/s |
AES-256 | 27.397 MB/s | 27.397 MB/s | - | - | 25.445 MB/s | 25.38 MB/s |
Hash Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 31.347 MB/s | - |
SHA-1 | 8.81 MB/s | 54.644 MB/s |
SHA-224 | 8.264 MB/s | 57.803 MB/s |
SHA-256 | 8.264 MB/s | 58.479 MB/s |
SHA-384 | 3.155 MB/s | - |
SHA-512 | 3.155 MB/s | - |
SHA3-224 | 1.24 MB/s | - |
SHA3-256 | 1.171 MB/s | - |
SHA3-384 | 0.897 MB/s | - |
SHA3-512 | 0.622 MB/s | - |
Signature Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 33.3 ms | 5.4 ms |
RSA (2048 bits) | 174.7 ms | 19.3 ms |
RSA (3072 bits) | 500.8 ms | 40.9 ms |
RSA (4096 bits) | 1091.3 ms | 71.9 ms |
DSA (1024 bits) | 19.2 ms | 39 ms |
DSA (2048 bits) | 87 ms | 180.8 ms |
EC Signature Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 79.2 ms | 99.4 ms |
ECDSA (P-384) | 135.8 ms | 166.7 ms |
ECDSA (P-521) | 144.9 ms | 172.2 ms |
EdDSA (Ed25519) | 18.3 ms | 36.3 ms |
EdDSA (Ed448) | 86 ms | 171.4 ms |
Key Exchange Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 71.2 ms | 71.1 ms |
Diffie-Hellman (2048 bits) | 487.6 ms | 487.2 ms |
EC Key Exchange Algorithms
ATSAME70 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 76.7 ms | 76.5 ms |
ECDH (P-384) | 127.7 ms | 129.1 ms |
ECDH (P-521) | 141.5 ms | 141.2 ms |
ECDH (X25519) | 10.3 ms | 10.2 ms |
ECDH (X448) | 44 ms | 44 ms |