Crypto Benchmark on M3333 MCU
ARM Cortex-M33 @ 180 MHz
This benchmark conducted on NuMaker-M3333KI 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 Nuvoton M3333 microcontroller.
Cipher Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Encryption (Software) |
Decryption (Software) |
|---|---|---|
| 3DES-CBC | 0.515 MB/s | 0.51 MB/s |
| 3DES-CTR | 0.53 MB/s | 0.53 MB/s |
| AES128-CBC | 2.582 MB/s | 2.346 MB/s |
| AES192-CBC | 2.262 MB/s | 2.066 MB/s |
| AES256-CBC | 2.013 MB/s | 1.849 MB/s |
| AES128-CTR | 1.92 MB/s | 1.904 MB/s |
| AES192-CTR | 1.687 MB/s | 1.676 MB/s |
| AES256-CTR | 1.511 MB/s | 1.51 MB/s |
| SM4-CBC | 2.077 MB/s | 1.871 MB/s |
| SM4-CTR | 2.059 MB/s | 2.059 MB/s |
AEAD Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Encryption (Software) |
Decryption (Software) |
|---|---|---|
| AES128-GCM | 1.237 MB/s | 1.227 MB/s |
| AES192-GCM | 1.148 MB/s | 1.138 MB/s |
| AES256-GCM | 1.085 MB/s | 1.076 MB/s |
| AES128-CCM | 1.406 MB/s | 1.398 MB/s |
| AES192-CCM | 1.218 MB/s | 1.213 MB/s |
| AES256-CCM | 1.074 MB/s | 1.07 MB/s |
| SM4-GCM | 1.252 MB/s | 1.25 MB/s |
| SM4-CCM | 1.066 MB/s | 1.066 MB/s |
| Ascon-AEAD128 | 2.542 MB/s | 2.572 MB/s |
| ChaCha20Poly1305 | 3.958 MB/s | 3.878 MB/s |
Hash Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Speed (Software) |
|---|---|
| MD5 | 14.388 MB/s |
| SHA-1 | 3.271 MB/s |
| SHA-224 | 2.538 MB/s |
| SHA-256 | 2.538 MB/s |
| SHA-384 | 1.394 MB/s |
| SHA-512 | 1.394 MB/s |
| SHA3-224 | 1.386 MB/s |
| SHA3-256 | 1.31 MB/s |
| SHA3-384 | 1.005 MB/s |
| SHA3-512 | 0.698 MB/s |
| SM3 | 2.252 MB/s |
| Ascon-Hash256 | 0.94 MB/s |
Signature Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Generation (Software) |
Verification (Software) |
|---|---|---|
| RSA (1024 bits) | 77.1 ms | 12.1 ms |
| RSA (2048 bits) | 424 ms | 44.8 ms |
| RSA (3072 bits) | 1239 ms | 96.3 ms |
| DSA (1024 bits) | 43.8 ms | 91.4 ms |
| DSA (2048 bits) | 210.9 ms | 445.1 ms |
EC Signature Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Generation (Software) |
Verification (Software) |
|---|---|---|
| ECDSA (secp256r1) | 79.9 ms | 71.5 ms |
| ECDSA (secp384r1) | 177.3 ms | 158.5 ms |
| ECDSA (secp521r1) | 341.8 ms | 298.5 ms |
| ECDSA (brainpoolP256r1) | 143.2 ms | 140.7 ms |
| ECDSA (brainpoolP384r1) | 336.2 ms | 336.4 ms |
| ECDSA (brainpoolP512r1) | 637.1 ms | 649.5 ms |
| EdDSA (Ed25519) | 15.6 ms | 13.4 ms |
| EdDSA (Ed448) | 73.9 ms | 64.9 ms |
Key Exchange Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
|---|---|---|
| Diffie-Hellman (1024 bits) | 171.6 ms | 171 ms |
| Diffie-Hellman (2048 bits) | 1212.9 ms | 1211.9 ms |
EC Key Exchange Algorithms
M3333 @ 180 MHz
- • Benchmark generated with CycloneCRYPTO 2.6.4
- • Compiled using Clang with optimization level 3
| Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
|---|---|---|
| ECDH (secp256r1) | 71.2 ms | 71 ms |
| ECDH (secp384r1) | 157 ms | 156.8 ms |
| ECDH (secp521r1) | 294.3 ms | 294 ms |
| ECDH (brainpoolP256r1) | 133.9 ms | 133.7 ms |
| ECDH (brainpoolP384r1) | 312.6 ms | 312.5 ms |
| ECDH (brainpoolP512r1) | 591.6 ms | 591.4 ms |
| ECDH (SM2) | 70.3 ms | 70.3 ms |
| ECDH (X25519) | 8.5 ms | 8.5 ms |
| ECDH (X448) | 37 ms | 37 ms |