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
AlgorithmEncryption
(Software)
Decryption
(Software)
3DES-CBC0.198 MB/s0.202 MB/s
3DES-CTR0.198 MB/s0.198 MB/s
AES128-CBC1.001 MB/s0.992 MB/s
AES192-CBC0.858 MB/s0.853 MB/s
AES256-CBC0.75 MB/s0.748 MB/s
AES128-CTR1.017 MB/s1.01 MB/s
AES192-CTR0.869 MB/s0.864 MB/s
AES256-CTR0.759 MB/s0.756 MB/s
SM4-CBC1.118 MB/s1.091 MB/s
SM4-CTR1.087 MB/s1.087 MB/s

AEAD Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
AES128-GCM0.692 MB/s0.691 MB/s
AES192-GCM0.613 MB/s0.612 MB/s
AES256-GCM0.564 MB/s0.563 MB/s
AES128-CCM0.529 MB/s0.528 MB/s
AES192-CCM0.443 MB/s0.443 MB/s
AES256-CCM0.387 MB/s0.387 MB/s
SM4-GCM0.713 MB/s0.712 MB/s
SM4-CCM0.573 MB/s0.573 MB/s
Ascon-AEAD1281.737 MB/s1.734 MB/s
ChaCha20Poly13051.525 MB/s1.523 MB/s

Hash Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed
(Software)
MD58.223 MB/s
SHA-11.995 MB/s
SHA-2241.629 MB/s
SHA-2561.629 MB/s
SHA-3840.932 MB/s
SHA-5120.932 MB/s
SHA3-2240.67 MB/s
SHA3-2560.634 MB/s
SHA3-3840.488 MB/s
SHA3-5120.34 MB/s
SM31.687 MB/s
Ascon-Hash2560.659 MB/s

Signature Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)125.3 ms23.7 ms
RSA (2048 bits)636.4 ms86.4 ms
RSA (3072 bits)1778.7 ms185.2 ms
DSA (1024 bits)70.7 ms148.4 ms
DSA (2048 bits)317.3 ms675 ms
DSA (3072 bits)676.8 ms1449.9 ms

EC Signature Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)82.4 ms73.9 ms
ECDSA (secp384r1)202.4 ms182.7 ms
ECDSA (secp521r1)428.1 ms374.9 ms
ECDSA (brainpoolP256r1)153 ms152 ms
ECDSA (brainpoolP384r1)407.8 ms405.4 ms
ECDSA (brainpoolP512r1)845.2 ms854.5 ms
SM273.4 ms73.4 ms
EdDSA (Ed25519)20.5 ms18.1 ms
EdDSA (Ed448)105.7 ms91.5 ms

Key Exchange Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)238.7 ms238.8 ms
Diffie-Hellman (2048 bits)1610.3 ms1610.4 ms

EC Key Exchange Algorithms

XMC4800 @ 144 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)73.2 ms73 ms
ECDH (secp384r1)178 ms177.7 ms
ECDH (secp521r1)370.7 ms370.2 ms
ECDH (brainpoolP256r1)142.4 ms142.2 ms
ECDH (brainpoolP384r1)378.5 ms378.3 ms
ECDH (brainpoolP512r1)783.6 ms783.3 ms
ECDH (SM2)73.5 ms73.2 ms
ECDH (X25519)11 ms11 ms
ECDH (X448)51.8 ms51.8 ms