Crypto Benchmark on PIC32MZ MCU
MIPS32 M-Class Core @ 200 MHz

This benchmark conducted on Curiosity PIC32MZ EF 2.0 Development Board (DM320209) 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 PIC32MZ microcontroller.

PIC32MZ MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.

Cipher Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.593 MB/s0.58 MB/s----
AES-1282.594 MB/s2.518 MB/s1.339 MB/s1.357 MB/s1.371 MB/s1.368 MB/s
AES-1922.262 MB/s2.214 MB/s1.158 MB/s1.172 MB/s1.271 MB/s1.27 MB/s
AES-2562.005 MB/s1.973 MB/s1.02 MB/s1.031 MB/s1.185 MB/s1.184 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
3DES19.88 MB/s19.88 MB/s----
AES-12824.57 MB/s24.154 MB/s--20.833 MB/s20.833 MB/s
AES-19223.364 MB/s22.935 MB/s--20 MB/s19.96 MB/s
AES-25622.988 MB/s22.222 MB/s--19.685 MB/s19.646 MB/s

Hash Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD514.705 MB/s61.728 MB/s
SHA-13.41 MB/s60.975 MB/s
SHA-2242.64 MB/s-
SHA-2562.641 MB/s42.194 MB/s
SHA-3841.324 MB/s-
SHA-5121.324 MB/s-
SHA3-2240.806 MB/s-
SHA3-2560.761 MB/s-
SHA3-3840.583 MB/s-
SHA3-5120.405 MB/s-

Signature Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)90.3 ms12.4 ms
RSA (2048 bits)553.4 ms46.3 ms
DSA (1024 bits)53.6 ms110 ms
DSA (2048 bits)277.3 ms574.6 ms

EC Signature Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)123.2 ms156.7 ms
ECDSA (P-384)246 ms300.6 ms
ECDSA (P-521)322.4 ms385.6 ms
EdDSA (Ed25519)37.2 ms73.6 ms
EdDSA (Ed448)205.8 ms410.4 ms

Key Exchange Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)241.1 ms241.1 ms
Diffie-Hellman (2048 bits)1775.5 ms1775.6 ms

EC Key Exchange Algorithms

PIC32MZ2048EF @ 200 MHz

  • Benchmark generated with CycloneCRYPTO 2.1.0
  • Compiled using XC32 with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)122.2 ms121.7 ms
ECDH (P-384)230.9 ms231.1 ms
ECDH (P-521)318.1 ms316.6 ms
ECDH (X25519)20.6 ms20.5 ms
ECDH (X448)105 ms104.8 ms