Crypto Benchmark on LAN9255 MCU
ARM Cortex-M4F @ 120 MHz

This benchmark conducted on EVB-LAN9255 Evaluation Kit (EV25Y25A) 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 LAN9255 microcontroller.

LAN9255 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.

Cipher Algorithms

LAN9255 @ 120 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-CBC0.327 MB/s0.328 MB/s--
3DES-CTR0.33 MB/s0.33 MB/s--
AES128-CBC1.561 MB/s1.572 MB/s16.26 MB/s16.233 MB/s
AES192-CBC1.369 MB/s1.391 MB/s15.29 MB/s15.243 MB/s
AES256-CBC1.219 MB/s1.245 MB/s14.43 MB/s14.388 MB/s
AES128-CTR1.49 MB/s1.49 MB/s15.898 MB/s15.873 MB/s
AES192-CTR1.314 MB/s1.314 MB/s14.97 MB/s14.925 MB/s
AES256-CTR1.176 MB/s1.175 MB/s14.144 MB/s14.104 MB/s
SM4-CBC1.529 MB/s1.473 MB/s--
SM4-CTR1.461 MB/s1.46 MB/s--

AEAD Algorithms

LAN9255 @ 120 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-GCM0.808 MB/s0.809 MB/s14.471 MB/s14.409 MB/s
AES192-GCM0.751 MB/s0.751 MB/s13.642 MB/s13.605 MB/s
AES256-GCM0.704 MB/s0.704 MB/s12.936 MB/s12.87 MB/s
AES128-CCM0.825 MB/s0.824 MB/s--
AES192-CCM0.715 MB/s0.715 MB/s--
AES256-CCM0.632 MB/s0.631 MB/s--
SM4-GCM0.82 MB/s0.819 MB/s--
SM4-CCM0.807 MB/s0.806 MB/s--
Ascon-AEAD1281.561 MB/s1.574 MB/s--
ChaCha20Poly13051.162 MB/s1.159 MB/s--

Hash Algorithms

LAN9255 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD57.032 MB/s-
SHA-11.668 MB/s60.606 MB/s
SHA-2241.606 MB/s66.666 MB/s
SHA-2561.606 MB/s67.114 MB/s
SHA-3840.826 MB/s-
SHA-5120.826 MB/s-
SHA3-2240.553 MB/s-
SHA3-2560.523 MB/s-
SHA3-3840.402 MB/s-
SHA3-5120.28 MB/s-
SM31.406 MB/s-
Ascon-Hash2560.602 MB/s-

Signature Algorithms

LAN9255 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
RSA (1024 bits)143.7 ms26.7 ms11.7 ms1 ms
RSA (2048 bits)739.3 ms97.8 ms67.8 ms3.2 ms
RSA (3072 bits)2081.4 ms209.5 ms205.7 ms6.8 ms
RSA (4096 bits)4479.1 ms369.4 ms466.3 ms11.7 ms
DSA (1024 bits)81.5 ms171 ms19.2 ms50.4 ms
DSA (2048 bits)369.6 ms785 ms75.8 ms204.7 ms
DSA (3072 bits)790 ms1689.3 ms162.3 ms446 ms

EC Signature Algorithms

LAN9255 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
Generation
(Hardware)
Verification
(Hardware)
ECDSA (secp256r1)94.7 ms85.4 ms23.1 ms45.7 ms
ECDSA (secp384r1)235 ms212.4 ms53 ms104.9 ms
ECDSA (secp521r1)495.6 ms434.6 ms113 ms224.6 ms
ECDSA (brainpoolP256r1)175.4 ms174.5 ms23.1 ms45.5 ms
ECDSA (brainpoolP384r1)466.3 ms464 ms52.6 ms104.8 ms
ECDSA (brainpoolP512r1)969.1 ms980.1 ms100.8 ms203.5 ms
SM285.1 ms85.1 ms22.4 ms22.4 ms
EdDSA (Ed25519)22.8 ms20.5 ms--
EdDSA (Ed448)116.3 ms102.8 ms--

Key Exchange Algorithms

LAN9255 @ 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)
Public Key Generation
(Hardware)
Shared Secret Computation
(Hardware)
Diffie-Hellman (1024 bits)279.6 ms279.8 ms32.3 ms32.2 ms
Diffie-Hellman (2048 bits)1906.4 ms1906.6 ms227.4 ms227.4 ms

EC Key Exchange Algorithms

LAN9255 @ 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)
Public Key Generation
(Hardware)
Shared Secret Computation
(Hardware)
ECDH (secp256r1)84.2 ms84 ms22.6 ms22.4 ms
ECDH (secp384r1)207.3 ms207 ms51.6 ms51.3 ms
ECDH (secp521r1)428.7 ms428.1 ms111.4 ms110.9 ms
ECDH (brainpoolP256r1)163.3 ms162.9 ms22.2 ms22 ms
ECDH (brainpoolP384r1)433.6 ms433.2 ms51.3 ms50.9 ms
ECDH (brainpoolP512r1)900.2 ms899.6 ms101.1 ms100.7 ms
ECDH (SM2)85.1 ms84.9 ms22.6 ms22.4 ms
ECDH (X25519)12.4 ms12.4 ms--
ECDH (X448)59.3 ms59.3 ms--