Crypto Benchmark on Kinetis K64 MCU
ARM Cortex-M4 @ 120 MHz

This benchmark conducted on FRDM-K64F Freedom Development Platform for Kinetis® K64, K63, and K24 MCUs 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 NXP Kinetis K64 microcontroller.

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

Cipher Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.154 MB/s0.152 MB/s----
AES-1280.813 MB/s0.785 MB/s0.43 MB/s0.43 MB/s0.569 MB/s0.569 MB/s
AES-1920.698 MB/s0.679 MB/s0.364 MB/s0.363 MB/s0.508 MB/s0.507 MB/s
AES-2560.611 MB/s0.595 MB/s0.317 MB/s0.316 MB/s0.463 MB/s0.462 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES1.248 MB/s1.183 MB/s----
AES-1282.305 MB/s2.18 MB/s1.321 MB/s1.348 MB/s0.975 MB/s0.978 MB/s
AES-1922.194 MB/s2.08 MB/s1.246 MB/s1.271 MB/s0.954 MB/s0.957 MB/s
AES-2562.105 MB/s2.001 MB/s1.188 MB/s1.21 MB/s0.937 MB/s0.94 MB/s

Hash Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD56.042 MB/s8.097 MB/s
SHA-11.685 MB/s4.122 MB/s
SHA-2241.585 MB/s2.681 MB/s
SHA-2561.585 MB/s2.683 MB/s
SHA-3840.725 MB/s-
SHA-5120.725 MB/s-
SHA3-2240.525 MB/s-
SHA3-2560.496 MB/s-
SHA3-3840.381 MB/s-
SHA3-5120.264 MB/s-

Signature Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)147.4 ms26.2 ms
RSA (2048 bits)746.8 ms94.4 ms
DSA (1024 bits)85.1 ms175.5 ms
DSA (2048 bits)375.8 ms791.4 ms

EC Signature Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)326.4 ms409.8 ms
ECDSA (P-384)588.1 ms727.3 ms
ECDSA (P-521)616.9 ms732.8 ms
EdDSA (Ed25519)70.8 ms139.5 ms
EdDSA (Ed448)299.1 ms593.5 ms

Key Exchange Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)295.8 ms294.2 ms
Diffie-Hellman (2048 bits)1970.8 ms1964.2 ms

EC Key Exchange Algorithms

K64 @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)315 ms314 ms
ECDH (P-384)555.1 ms562.7 ms
ECDH (P-521)602.1 ms600.2 ms
ECDH (X25519)39.3 ms39.3 ms
ECDH (X448)152.7 ms152.7 ms