Crypto Benchmark on XMC4800 MCU
ARM Cortex-M4 @ 144 MHz
This benchmark conducted on XMC4800 Relax EtherCAT Kit (KIT_XMC48_RLX_ECAT_V2.1) 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 Infineon XMC4800 microcontroller.
Cipher Algorithms
XMC4800 @ 144 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
3DES-CBC | 0.198 MB/s | 0.202 MB/s |
3DES-CTR | 0.198 MB/s | 0.198 MB/s |
AES128-CBC | 1.001 MB/s | 0.992 MB/s |
AES192-CBC | 0.858 MB/s | 0.853 MB/s |
AES256-CBC | 0.75 MB/s | 0.748 MB/s |
AES128-CTR | 1.017 MB/s | 1.01 MB/s |
AES192-CTR | 0.869 MB/s | 0.864 MB/s |
AES256-CTR | 0.759 MB/s | 0.756 MB/s |
SM4-CBC | 1.118 MB/s | 1.091 MB/s |
SM4-CTR | 1.087 MB/s | 1.087 MB/s |
AEAD Algorithms
XMC4800 @ 144 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
AES128-GCM | 0.692 MB/s | 0.691 MB/s |
AES192-GCM | 0.613 MB/s | 0.612 MB/s |
AES256-GCM | 0.564 MB/s | 0.563 MB/s |
AES128-CCM | 0.529 MB/s | 0.528 MB/s |
AES192-CCM | 0.443 MB/s | 0.443 MB/s |
AES256-CCM | 0.387 MB/s | 0.387 MB/s |
SM4-GCM | 0.713 MB/s | 0.712 MB/s |
SM4-CCM | 0.573 MB/s | 0.573 MB/s |
Ascon-AEAD128 | 1.737 MB/s | 1.734 MB/s |
ChaCha20Poly1305 | 1.525 MB/s | 1.523 MB/s |
Hash Algorithms
XMC4800 @ 144 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 8.223 MB/s |
SHA-1 | 1.995 MB/s |
SHA-224 | 1.629 MB/s |
SHA-256 | 1.629 MB/s |
SHA-384 | 0.932 MB/s |
SHA-512 | 0.932 MB/s |
SHA3-224 | 0.67 MB/s |
SHA3-256 | 0.634 MB/s |
SHA3-384 | 0.488 MB/s |
SHA3-512 | 0.34 MB/s |
SM3 | 1.687 MB/s |
Ascon-Hash256 | 0.659 MB/s |
Signature Algorithms
XMC4800 @ 144 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
RSA (1024 bits) | 125.3 ms | 23.7 ms |
RSA (2048 bits) | 636.4 ms | 86.4 ms |
RSA (3072 bits) | 1778.7 ms | 185.2 ms |
DSA (1024 bits) | 70.7 ms | 148.4 ms |
DSA (2048 bits) | 317.3 ms | 675 ms |
DSA (3072 bits) | 676.8 ms | 1449.9 ms |
EC Signature Algorithms
XMC4800 @ 144 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 82.4 ms | 73.9 ms |
ECDSA (secp384r1) | 202.4 ms | 182.7 ms |
ECDSA (secp521r1) | 428.1 ms | 374.9 ms |
ECDSA (brainpoolP256r1) | 153 ms | 152 ms |
ECDSA (brainpoolP384r1) | 407.8 ms | 405.4 ms |
ECDSA (brainpoolP512r1) | 845.2 ms | 854.5 ms |
SM2 | 73.4 ms | 73.4 ms |
EdDSA (Ed25519) | 20.5 ms | 18.1 ms |
EdDSA (Ed448) | 105.7 ms | 91.5 ms |
Key Exchange Algorithms
XMC4800 @ 144 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) | 238.7 ms | 238.8 ms |
Diffie-Hellman (2048 bits) | 1610.3 ms | 1610.4 ms |
EC Key Exchange Algorithms
XMC4800 @ 144 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) | 73.2 ms | 73 ms |
ECDH (secp384r1) | 178 ms | 177.7 ms |
ECDH (secp521r1) | 370.7 ms | 370.2 ms |
ECDH (brainpoolP256r1) | 142.4 ms | 142.2 ms |
ECDH (brainpoolP384r1) | 378.5 ms | 378.3 ms |
ECDH (brainpoolP512r1) | 783.6 ms | 783.3 ms |
ECDH (SM2) | 73.5 ms | 73.2 ms |
ECDH (X25519) | 11 ms | 11 ms |
ECDH (X448) | 51.8 ms | 51.8 ms |