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
K66F18 @ 180 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-CBC | 0.483 MB/s | 0.477 MB/s | 2.329 MB/s | 2.171 MB/s |
3DES-CTR | 0.486 MB/s | 0.486 MB/s | 2.264 MB/s | 2.263 MB/s |
AES128-CBC | 2.335 MB/s | 2.303 MB/s | 4.224 MB/s | 3.946 MB/s |
AES192-CBC | 2.049 MB/s | 2.033 MB/s | 3.961 MB/s | 3.716 MB/s |
AES256-CBC | 1.825 MB/s | 1.82 MB/s | 3.762 MB/s | 3.539 MB/s |
AES128-CTR | 2.202 MB/s | 2.202 MB/s | 3.829 MB/s | 3.827 MB/s |
AES192-CTR | 1.946 MB/s | 1.945 MB/s | 3.612 MB/s | 3.61 MB/s |
AES256-CTR | 1.743 MB/s | 1.743 MB/s | 3.444 MB/s | 3.442 MB/s |
SM4-CBC | 2.293 MB/s | 2.211 MB/s | - | - |
SM4-CTR | 2.164 MB/s | 2.164 MB/s | - | - |
AEAD Algorithms
K66F18 @ 180 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-GCM | 1.22 MB/s | 1.219 MB/s | 1.6 MB/s | 1.597 MB/s |
AES192-GCM | 1.136 MB/s | 1.135 MB/s | 1.553 MB/s | 1.554 MB/s |
AES256-GCM | 1.062 MB/s | 1.062 MB/s | 1.521 MB/s | 1.522 MB/s |
AES128-CCM | 1.214 MB/s | 1.213 MB/s | 2.346 MB/s | 2.343 MB/s |
AES192-CCM | 1.056 MB/s | 1.055 MB/s | 2.181 MB/s | 2.178 MB/s |
AES256-CCM | 0.934 MB/s | 0.933 MB/s | 2.056 MB/s | 2.053 MB/s |
SM4-GCM | 1.209 MB/s | 1.207 MB/s | - | - |
SM4-CCM | 1.189 MB/s | 1.188 MB/s | - | - |
Ascon-AEAD128 | 2.32 MB/s | 2.347 MB/s | - | - |
ChaCha20Poly1305 | 1.674 MB/s | 1.672 MB/s | - | - |
Hash Algorithms
K66F18 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 10.515 MB/s | 13.661 MB/s |
SHA-1 | 2.501 MB/s | 6.41 MB/s |
SHA-224 | 2.407 MB/s | 4.113 MB/s |
SHA-256 | 2.406 MB/s | 4.113 MB/s |
SHA-384 | 1.212 MB/s | - |
SHA-512 | 1.212 MB/s | - |
SHA3-224 | 0.805 MB/s | - |
SHA3-256 | 0.761 MB/s | - |
SHA3-384 | 0.586 MB/s | - |
SHA3-512 | 0.408 MB/s | - |
SM3 | 2.109 MB/s | - |
Ascon-Hash256 | 0.904 MB/s | - |
Signature Algorithms
K66F18 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
RSA (1024 bits) | 96.2 ms | 17.8 ms |
RSA (2048 bits) | 493.4 ms | 65.2 ms |
RSA (3072 bits) | 1387.9 ms | 139.6 ms |
DSA (1024 bits) | 54.4 ms | 114 ms |
DSA (2048 bits) | 246.3 ms | 523.1 ms |
EC Signature Algorithms
K66F18 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 63.3 ms | 56.6 ms |
ECDSA (secp384r1) | 156.2 ms | 140.6 ms |
ECDSA (secp521r1) | 332.2 ms | 290.4 ms |
ECDSA (brainpoolP256r1) | 117.1 ms | 116.2 ms |
ECDSA (brainpoolP384r1) | 310.4 ms | 308.2 ms |
ECDSA (brainpoolP512r1) | 652.5 ms | 658.8 ms |
SM2 | 57.3 ms | 57.3 ms |
EdDSA (Ed25519) | 15.5 ms | 13.9 ms |
EdDSA (Ed448) | 80.5 ms | 70.7 ms |
Key Exchange Algorithms
K66F18 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 187.2 ms | 186.8 ms |
Diffie-Hellman (2048 bits) | 1273.2 ms | 1270.9 ms |
EC Key Exchange Algorithms
K66F18 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 56.2 ms | 56.1 ms |
ECDH (secp384r1) | 137.6 ms | 137.4 ms |
ECDH (secp521r1) | 287.3 ms | 287 ms |
ECDH (brainpoolP256r1) | 109.1 ms | 108.9 ms |
ECDH (brainpoolP384r1) | 288.6 ms | 288.4 ms |
ECDH (brainpoolP512r1) | 606.6 ms | 606.1 ms |
ECDH (SM2) | 57.3 ms | 57.1 ms |
ECDH (X25519) | 8.5 ms | 8.5 ms |
ECDH (X448) | 40.5 ms | 40.5 ms |