Crypto Benchmark on PIC32MX MCU
MIPS32 M4K Core @ 120 MHz
This benchmark conducted on Curiosity PIC32MX470 Development Board (DM320103) 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 PIC32MX microcontroller.
Cipher Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
3DES-CBC | 0.162 MB/s | 0.16 MB/s |
3DES-CTR | 0.164 MB/s | 0.164 MB/s |
AES128-CBC | 0.825 MB/s | 0.786 MB/s |
AES192-CBC | 0.705 MB/s | 0.674 MB/s |
AES256-CBC | 0.616 MB/s | 0.59 MB/s |
AES128-CTR | 0.89 MB/s | 0.885 MB/s |
AES192-CTR | 0.752 MB/s | 0.749 MB/s |
AES256-CTR | 0.651 MB/s | 0.648 MB/s |
SM4-CBC | 0.898 MB/s | 0.85 MB/s |
SM4-CTR | 0.944 MB/s | 0.944 MB/s |
AEAD Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Encryption (Software) | Decryption (Software) |
---|---|---|
AES128-GCM | 0.551 MB/s | 0.551 MB/s |
AES192-GCM | 0.493 MB/s | 0.494 MB/s |
AES256-GCM | 0.448 MB/s | 0.449 MB/s |
AES128-CCM | 0.452 MB/s | 0.452 MB/s |
AES192-CCM | 0.378 MB/s | 0.378 MB/s |
AES256-CCM | 0.327 MB/s | 0.327 MB/s |
SM4-GCM | 0.569 MB/s | 0.57 MB/s |
SM4-CCM | 0.488 MB/s | 0.488 MB/s |
Ascon-AEAD128 | 1.402 MB/s | 1.388 MB/s |
ChaCha20Poly1305 | 2.2 MB/s | 2.199 MB/s |
Hash Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 7.385 MB/s |
SHA-1 | 1.681 MB/s |
SHA-224 | 1.379 MB/s |
SHA-256 | 1.379 MB/s |
SHA-384 | 0.835 MB/s |
SHA-512 | 0.835 MB/s |
SHA3-224 | 0.56 MB/s |
SHA3-256 | 0.529 MB/s |
SHA3-384 | 0.407 MB/s |
SHA3-512 | 0.283 MB/s |
SM3 | 1.3 MB/s |
Ascon-Hash256 | 0.51 MB/s |
Signature Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
RSA (1024 bits) | 172.6 ms | 22.5 ms |
RSA (2048 bits) | 1010.7 ms | 81.9 ms |
DSA (1024 bits) | 96.6 ms | 199.1 ms |
DSA (2048 bits) | 489.3 ms | 1014.2 ms |
EC Signature Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Generation (Software) | Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 115.8 ms | 105.9 ms |
ECDSA (secp384r1) | 304.3 ms | 279.1 ms |
ECDSA (secp521r1) | 679.1 ms | 604.2 ms |
ECDSA (brainpoolP256r1) | 234.4 ms | 237.1 ms |
ECDSA (brainpoolP384r1) | 649.9 ms | 655.1 ms |
EdDSA (Ed25519) | 30 ms | 27.2 ms |
EdDSA (Ed448) | 145.2 ms | 127 ms |
Key Exchange Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 434.6 ms | 434.7 ms |
Diffie-Hellman (2048 bits) | 3117.7 ms | 3118 ms |
EC Key Exchange Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using XC32 with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 100.8 ms | 100.7 ms |
ECDH (secp384r1) | 263.9 ms | 263.6 ms |
ECDH (secp521r1) | 581.6 ms | 581.2 ms |
ECDH (brainpoolP256r1) | 217.3 ms | 217.2 ms |
ECDH (brainpoolP384r1) | 602 ms | 601.7 ms |
ECDH (brainpoolP512r1) | 1299.1 ms | 1298.8 ms |
ECDH (SM2) | 101.6 ms | 101.4 ms |
ECDH (X25519) | 16.2 ms | 16.2 ms |
ECDH (X448) | 70.5 ms | 71 ms |