Crypto Benchmark on SAMV71 MCU
ARM Cortex-M7 @ 300 MHz
This benchmark conducted on SAM V71 Xplained Ultra Evaluation Kit (ATSAMV71-XULT) 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 SAMV71 microcontroller.
SAMV71 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
3DES-CBC | 1.251 MB/s | 1.208 MB/s | - | - |
3DES-CTR | 1.266 MB/s | 1.264 MB/s | - | - |
AES128-CBC | 6.246 MB/s | 6.215 MB/s | 29.673 MB/s | 29.673 MB/s |
AES192-CBC | 5.443 MB/s | 5.482 MB/s | 28.571 MB/s | 28.571 MB/s |
AES256-CBC | 4.826 MB/s | 4.904 MB/s | 27.322 MB/s | 27.397 MB/s |
AES128-CTR | 5.995 MB/s | 5.991 MB/s | 29.411 MB/s | 29.239 MB/s |
AES192-CTR | 5.252 MB/s | 5.249 MB/s | 28.328 MB/s | 28.169 MB/s |
AES256-CTR | 4.675 MB/s | 4.672 MB/s | 27.173 MB/s | 27.027 MB/s |
SM4-CBC | 5.165 MB/s | 4.977 MB/s | - | - |
SM4-CTR | 5.047 MB/s | 5.058 MB/s | - | - |
AEAD Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
AES128-GCM | 3.559 MB/s | 3.549 MB/s | 27.397 MB/s | 27.397 MB/s |
AES192-GCM | 3.28 MB/s | 3.273 MB/s | 26.455 MB/s | 26.385 MB/s |
AES256-GCM | 3.043 MB/s | 3.034 MB/s | 25.38 MB/s | 25.38 MB/s |
AES128-CCM | 3.192 MB/s | 3.192 MB/s | - | - |
AES192-CCM | 2.763 MB/s | 2.763 MB/s | - | - |
AES256-CCM | 2.437 MB/s | 2.437 MB/s | - | - |
SM4-GCM | 3.2 MB/s | 3.196 MB/s | - | - |
SM4-CCM | 2.645 MB/s | 2.644 MB/s | - | - |
Ascon-AEAD128 | 6.293 MB/s | 6.203 MB/s | - | - |
ChaCha20Poly1305 | 4.761 MB/s | 4.752 MB/s | - | - |
Hash Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 24.63 MB/s | - |
SHA-1 | 8.605 MB/s | 69.93 MB/s |
SHA-224 | 8.058 MB/s | 76.335 MB/s |
SHA-256 | 8.058 MB/s | 76.335 MB/s |
SHA-384 | 3.186 MB/s | - |
SHA-512 | 3.186 MB/s | - |
SHA3-224 | 1.338 MB/s | - |
SHA3-256 | 1.265 MB/s | - |
SHA3-384 | 0.97 MB/s | - |
SHA3-512 | 0.674 MB/s | - |
SM3 | 6.906 MB/s | - |
Ascon-Hash256 | 2.399 MB/s | - |
Signature Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
RSA (1024 bits) | 34.9 ms | 5.5 ms |
RSA (2048 bits) | 179.6 ms | 19.4 ms |
RSA (3072 bits) | 510.1 ms | 41 ms |
RSA (4096 bits) | 1107.5 ms | 71.7 ms |
DSA (1024 bits) | 19.2 ms | 39.4 ms |
DSA (2048 bits) | 87.1 ms | 181.5 ms |
EC Signature Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 26.4 ms | 24.6 ms |
ECDSA (secp384r1) | 67.1 ms | 60.7 ms |
ECDSA (secp521r1) | 134.3 ms | 118.8 ms |
ECDSA (brainpoolP256r1) | 50.9 ms | 50.8 ms |
ECDSA (brainpoolP384r1) | 132 ms | 131.7 ms |
ECDSA (brainpoolP512r1) | 263 ms | 267.2 ms |
SM2 | 26.4 ms | 26.4 ms |
EdDSA (Ed25519) | 7.8 ms | 7 ms |
EdDSA (Ed448) | 44.6 ms | 39.9 ms |
Key Exchange Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 71.9 ms | 71.8 ms |
Diffie-Hellman (2048 bits) | 490.7 ms | 490.1 ms |
EC Key Exchange Algorithms
SAMV71 @ 300 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 23.3 ms | 23.3 ms |
ECDH (secp384r1) | 59.2 ms | 59.1 ms |
ECDH (secp521r1) | 116.1 ms | 116 ms |
ECDH (brainpoolP256r1) | 47.3 ms | 47.3 ms |
ECDH (brainpoolP384r1) | 122.8 ms | 122.7 ms |
ECDH (brainpoolP512r1) | 243.8 ms | 243.7 ms |
ECDH (SM2) | 26.3 ms | 26.3 ms |
ECDH (X25519) | 4.3 ms | 4.2 ms |
ECDH (X448) | 22.4 ms | 22.5 ms |