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.1.0
- • Compiled using XC32 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.158 MB/s | 0.158 MB/s | - | - | - | - |
AES-128 | 0.804 MB/s | 0.783 MB/s | 0.42 MB/s | 0.424 MB/s | 0.521 MB/s | 0.52 MB/s |
AES-192 | 0.689 MB/s | 0.673 MB/s | 0.355 MB/s | 0.358 MB/s | 0.468 MB/s | 0.467 MB/s |
AES-256 | 0.603 MB/s | 0.59 MB/s | 0.309 MB/s | 0.311 MB/s | 0.428 MB/s | 0.427 MB/s |
Hash Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using XC32 with optimization level 3
Algorithm | Speed (Software) |
---|---|
MD5 | 8.34 MB/s |
SHA-1 | 1.738 MB/s |
SHA-224 | 1.322 MB/s |
SHA-256 | 1.322 MB/s |
SHA-384 | 0.747 MB/s |
SHA-512 | 0.747 MB/s |
SHA3-224 | 0.478 MB/s |
SHA3-256 | 0.452 MB/s |
SHA3-384 | 0.346 MB/s |
SHA3-512 | 0.24 MB/s |
Signature Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using XC32 with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
RSA (1024 bits) | 163.7 ms | 22.3 ms |
RSA (2048 bits) | 968.9 ms | 81.7 ms |
DSA (1024 bits) | 95.9 ms | 195.5 ms |
DSA (2048 bits) | 481.6 ms | 995.3 ms |
EC Signature Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using XC32 with optimization level 3
Algorithm | Signature Generation (Software) | Signature Verification (Software) |
---|---|---|
ECDSA (P-256) | 248.4 ms | 314 ms |
ECDSA (P-384) | 499.3 ms | 608.1 ms |
ECDSA (P-521) | 606.2 ms | 722.2 ms |
EdDSA (Ed25519) | 65.3 ms | 128.1 ms |
EdDSA (Ed448) | 335.2 ms | 665.4 ms |
Key Exchange Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using XC32 with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 420.8 ms | 420.8 ms |
Diffie-Hellman (2048 bits) | 3048.3 ms | 3048.5 ms |
EC Key Exchange Algorithms
PIC32MX470 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.1.0
- • Compiled using XC32 with optimization level 3
Algorithm | Public Key Generation (Software) | Shared Secret Computation (Software) |
---|---|---|
ECDH (P-256) | 245.6 ms | 244.6 ms |
ECDH (P-384) | 467.7 ms | 468.1 ms |
ECDH (P-521) | 595.6 ms | 592.9 ms |
ECDH (X25519) | 35.4 ms | 35.4 ms |
ECDH (X448) | 168.9 ms | 169 ms |