Crypto Benchmark on Kinetis K66 MCU
ARM Cortex-M4 @ 180 MHz
This benchmark conducted on FRDM-K66F Freedom Development Platform for Kinetis® K66, K65, and K26 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 K66 microcontroller.
Kinetis K66 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | CBC Encrypt (Software) | CBC Decrypt (Software) | CCM Encrypt (Software) | CCM Decrypt (Software) | GCM Encrypt (Software) | GCM Decrypt (Software) |
---|---|---|---|---|---|---|
3DES | 0.468 MB/s | 0.461 MB/s | - | - | - | - |
AES-128 | 2.336 MB/s | 2.305 MB/s | 1.215 MB/s | 1.214 MB/s | 1.221 MB/s | 1.219 MB/s |
AES-192 | 2.05 MB/s | 2.034 MB/s | 1.057 MB/s | 1.056 MB/s | 1.137 MB/s | 1.135 MB/s |
AES-256 | 1.825 MB/s | 1.821 MB/s | 0.935 MB/s | 0.934 MB/s | 1.063 MB/s | 1.061 MB/s |
Algorithm | CBC Encrypt (Hardware) | CBC Decrypt (Hardware) | CCM Encrypt (Hardware) | CCM Decrypt (Hardware) | GCM Encrypt (Hardware) | GCM Decrypt (Hardware) |
---|---|---|---|---|---|---|
3DES | 2.272 MB/s | 2.105 MB/s | - | - | - | - |
AES-128 | 4.1 MB/s | 3.947 MB/s | 2.349 MB/s | 2.346 MB/s | 1.605 MB/s | 1.602 MB/s |
AES-192 | 3.963 MB/s | 3.716 MB/s | 2.183 MB/s | 2.181 MB/s | 1.564 MB/s | 1.562 MB/s |
AES-256 | 3.762 MB/s | 3.538 MB/s | 2.058 MB/s | 2.056 MB/s | 1.532 MB/s | 1.529 MB/s |
Hash Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) | Speed (Hardware) |
---|---|---|
MD5 | 12.376 MB/s | 13.679 MB/s |
SHA-1 | 2.593 MB/s | 6.406 MB/s |
SHA-224 | 2.54 MB/s | 4.113 MB/s |
SHA-256 | 2.541 MB/s | 4.113 MB/s |
SHA-384 | 1.302 MB/s | - |
SHA-512 | 1.302 MB/s | - |
SHA3-224 | 0.819 MB/s | - |
SHA3-256 | 0.774 MB/s | - |
SHA3-384 | 0.593 MB/s | - |
SHA3-512 | 0.412 MB/s | - |
Signature Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 88.4 ms | 16.7 ms |
RSA (2048 bits) | 465 ms | 61.3 ms |
DSA (1024 bits) | 52.2 ms | 109.1 ms |
DSA (2048 bits) | 238.9 ms | 506.1 ms |
EC Signature Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 179 ms | 225.7 ms |
ECDSA (P-384) | 329.4 ms | 409.8 ms |
ECDSA (P-521) | 356.8 ms | 424.7 ms |
EdDSA (Ed25519) | 45.5 ms | 89.9 ms |
EdDSA (Ed448) | 195.8 ms | 388.9 ms |
Key Exchange Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 181.5 ms | 181.3 ms |
Diffie-Hellman (2048 bits) | 1251.6 ms | 1250.2 ms |
EC Key Exchange Algorithms
K66 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 172.1 ms | 171.6 ms |
ECDH (P-384) | 311.9 ms | 316.9 ms |
ECDH (P-521) | 349 ms | 347.9 ms |
ECDH (X25519) | 25.3 ms | 25.4 ms |
ECDH (X448) | 100 ms | 100.1 ms |