Crypto Benchmark on PIC32CX-MT MCU
ARM Cortex-M4F @ 196 MHz

This benchmark conducted on PIC32CXMTG-EK Evaluation Kit (EV11K09A) 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 PIC32CX-MT microcontroller.

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

Cipher Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.141 MB/s0.145 MB/s----
AES-1280.763 MB/s0.728 MB/s0.405 MB/s0.405 MB/s0.475 MB/s0.475 MB/s
AES-1920.657 MB/s0.634 MB/s0.342 MB/s0.342 MB/s0.427 MB/s0.428 MB/s
AES-2560.577 MB/s0.562 MB/s0.3 MB/s0.299 MB/s0.396 MB/s0.396 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12817.421 MB/s17.391 MB/s--15.873 MB/s15.772 MB/s
AES-19216.778 MB/s16.722 MB/s--15.337 MB/s15.267 MB/s
AES-25616.207 MB/s16.155 MB/s--14.88 MB/s14.814 MB/s

Hash Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD56.844 MB/s-
SHA-11.047 MB/s25.641 MB/s
SHA-2241.472 MB/s26.455 MB/s
SHA-2561.472 MB/s26.525 MB/s
SHA-3840.866 MB/s34.482 MB/s
SHA-5120.866 MB/s34.722 MB/s
SHA3-2240.652 MB/s-
SHA3-2560.616 MB/s-
SHA3-3840.472 MB/s-
SHA3-5120.328 MB/s-

Signature Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)148.5 ms26.4 ms
RSA (2048 bits)748.8 ms93.1 ms
RSA (3072 bits)2064.9 ms196.8 ms
RSA (4096 bits)4392.7 ms344.2 ms
DSA (1024 bits)86.5 ms176.6 ms
DSA (2048 bits)368.9 ms772.7 ms

EC Signature Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)362.3 ms455.5 ms
ECDSA (P-384)622.6 ms784.7 ms
ECDSA (P-521)627 ms748.4 ms
EdDSA (Ed25519)79.2 ms155.4 ms
EdDSA (Ed448)432.3 ms854.9 ms

Key Exchange Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)295.1 ms295.3 ms
Diffie-Hellman (2048 bits)1913 ms1913 ms

EC Key Exchange Algorithms

PIC32CX-MT @ 196 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.2
  • Compiled using ARMCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)344.3 ms343.2 ms
ECDH (P-384)593.5 ms607.7 ms
ECDH (P-521)615.8 ms613.8 ms
ECDH (X25519)43.6 ms43.6 ms
ECDH (X448)217.4 ms217.4 ms