Crypto Benchmark on XMC4500 MCU
ARM Cortex-M4 @ 120 MHz
This benchmark conducted on XMC4500 Relax Kit (KIT_XMC45_RELAX_V1) 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 XMC4500 microcontroller.
Cipher Algorithms
XMC4500 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
3DES-CBC | 0.176 MB/s | 0.178 MB/s |
3DES-CTR | 0.177 MB/s | 0.177 MB/s |
AES128-CBC | 0.893 MB/s | 0.883 MB/s |
AES192-CBC | 0.766 MB/s | 0.762 MB/s |
AES256-CBC | 0.671 MB/s | 0.669 MB/s |
AES128-CTR | 0.896 MB/s | 0.89 MB/s |
AES192-CTR | 0.769 MB/s | 0.765 MB/s |
AES256-CTR | 0.674 MB/s | 0.671 MB/s |
SM4-CBC | 0.976 MB/s | 0.951 MB/s |
SM4-CTR | 0.941 MB/s | 0.942 MB/s |
AEAD Algorithms
XMC4500 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
AES128-GCM | 0.593 MB/s | 0.591 MB/s |
AES192-GCM | 0.529 MB/s | 0.528 MB/s |
AES256-GCM | 0.487 MB/s | 0.487 MB/s |
AES128-CCM | 0.465 MB/s | 0.465 MB/s |
AES192-CCM | 0.392 MB/s | 0.392 MB/s |
AES256-CCM | 0.343 MB/s | 0.343 MB/s |
SM4-GCM | 0.604 MB/s | 0.603 MB/s |
SM4-CCM | 0.496 MB/s | 0.495 MB/s |
Ascon-AEAD128 | 1.421 MB/s | 1.449 MB/s |
ChaCha20Poly1305 | 1.245 MB/s | 1.243 MB/s |
Hash Algorithms
XMC4500 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 6.734 MB/s |
SHA-1 | 1.659 MB/s |
SHA-224 | 1.362 MB/s |
SHA-256 | 1.363 MB/s |
SHA-384 | 0.748 MB/s |
SHA-512 | 0.748 MB/s |
SHA3-224 | 0.488 MB/s |
SHA3-256 | 0.462 MB/s |
SHA3-384 | 0.355 MB/s |
SHA3-512 | 0.247 MB/s |
SM3 | 1.36 MB/s |
Ascon-Hash256 | 0.555 MB/s |
Signature Algorithms
XMC4500 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
RSA (1024 bits) | 160.1 ms | 30.1 ms |
RSA (2048 bits) | 827.1 ms | 110.8 ms |
RSA (3072 bits) | 2330.6 ms | 237.9 ms |
DSA (1024 bits) | 90.9 ms | 191.3 ms |
DSA (2048 bits) | 414.2 ms | 881.6 ms |
DSA (3072 bits) | 887.4 ms | 1900.7 ms |
EC Signature Algorithms
XMC4500 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 103.1 ms | 92.2 ms |
ECDSA (secp384r1) | 255.3 ms | 229.3 ms |
ECDSA (secp521r1) | 538.1 ms | 469.2 ms |
ECDSA (brainpoolP256r1) | 186 ms | 184 ms |
ECDSA (brainpoolP384r1) | 495.7 ms | 491 ms |
ECDSA (brainpoolP512r1) | 1029.6 ms | 1037.1 ms |
SM2 | 93.2 ms | 93.2 ms |
EdDSA (Ed25519) | 25.1 ms | 22 ms |
EdDSA (Ed448) | 135 ms | 117.1 ms |
Key Exchange Algorithms
XMC4500 @ 120 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) | 314.1 ms | 313 ms |
Diffie-Hellman (2048 bits) | 2138 ms | 2132.7 ms |
EC Key Exchange Algorithms
XMC4500 @ 120 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) | 92.1 ms | 91.8 ms |
ECDH (secp384r1) | 226.2 ms | 225.8 ms |
ECDH (secp521r1) | 469.3 ms | 468.7 ms |
ECDH (brainpoolP256r1) | 173.2 ms | 173 ms |
ECDH (brainpoolP384r1) | 460.7 ms | 460.4 ms |
ECDH (brainpoolP512r1) | 955.7 ms | 955.3 ms |
ECDH (SM2) | 93.2 ms | 92.9 ms |
ECDH (X25519) | 13.3 ms | 13.3 ms |
ECDH (X448) | 67.1 ms | 67 ms |