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
AlgorithmEncryption
(Software)
Decryption
(Software)
3DES-CBC0.176 MB/s0.178 MB/s
3DES-CTR0.177 MB/s0.177 MB/s
AES128-CBC0.893 MB/s0.883 MB/s
AES192-CBC0.766 MB/s0.762 MB/s
AES256-CBC0.671 MB/s0.669 MB/s
AES128-CTR0.896 MB/s0.89 MB/s
AES192-CTR0.769 MB/s0.765 MB/s
AES256-CTR0.674 MB/s0.671 MB/s
SM4-CBC0.976 MB/s0.951 MB/s
SM4-CTR0.941 MB/s0.942 MB/s

AEAD Algorithms

XMC4500 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
AES128-GCM0.593 MB/s0.591 MB/s
AES192-GCM0.529 MB/s0.528 MB/s
AES256-GCM0.487 MB/s0.487 MB/s
AES128-CCM0.465 MB/s0.465 MB/s
AES192-CCM0.392 MB/s0.392 MB/s
AES256-CCM0.343 MB/s0.343 MB/s
SM4-GCM0.604 MB/s0.603 MB/s
SM4-CCM0.496 MB/s0.495 MB/s
Ascon-AEAD1281.421 MB/s1.449 MB/s
ChaCha20Poly13051.245 MB/s1.243 MB/s

Hash Algorithms

XMC4500 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed
(Software)
MD56.734 MB/s
SHA-11.659 MB/s
SHA-2241.362 MB/s
SHA-2561.363 MB/s
SHA-3840.748 MB/s
SHA-5120.748 MB/s
SHA3-2240.488 MB/s
SHA3-2560.462 MB/s
SHA3-3840.355 MB/s
SHA3-5120.247 MB/s
SM31.36 MB/s
Ascon-Hash2560.555 MB/s

Signature Algorithms

XMC4500 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)160.1 ms30.1 ms
RSA (2048 bits)827.1 ms110.8 ms
RSA (3072 bits)2330.6 ms237.9 ms
DSA (1024 bits)90.9 ms191.3 ms
DSA (2048 bits)414.2 ms881.6 ms
DSA (3072 bits)887.4 ms1900.7 ms

EC Signature Algorithms

XMC4500 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)103.1 ms92.2 ms
ECDSA (secp384r1)255.3 ms229.3 ms
ECDSA (secp521r1)538.1 ms469.2 ms
ECDSA (brainpoolP256r1)186 ms184 ms
ECDSA (brainpoolP384r1)495.7 ms491 ms
ECDSA (brainpoolP512r1)1029.6 ms1037.1 ms
SM293.2 ms93.2 ms
EdDSA (Ed25519)25.1 ms22 ms
EdDSA (Ed448)135 ms117.1 ms

Key Exchange Algorithms

XMC4500 @ 120 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)314.1 ms313 ms
Diffie-Hellman (2048 bits)2138 ms2132.7 ms

EC Key Exchange Algorithms

XMC4500 @ 120 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)92.1 ms91.8 ms
ECDH (secp384r1)226.2 ms225.8 ms
ECDH (secp521r1)469.3 ms468.7 ms
ECDH (brainpoolP256r1)173.2 ms173 ms
ECDH (brainpoolP384r1)460.7 ms460.4 ms
ECDH (brainpoolP512r1)955.7 ms955.3 ms
ECDH (SM2)93.2 ms92.9 ms
ECDH (X25519)13.3 ms13.3 ms
ECDH (X448)67.1 ms67 ms