Crypto Benchmark on PIC32CX-SG MCU
ARM Cortex-M4F @ 120 MHz

This benchmark conducted on PIC32CX SG41 Curiosity Ultra Evaluation Board (EV06X38A) 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-SG microcontroller.

PIC32CX-SG 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-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmCBC Encrypt (Software)CBC Decrypt (Software)CCM Encrypt (Software)CCM Decrypt (Software)GCM Encrypt (Software)GCM Decrypt (Software)
3DES0.336 MB/s0.334 MB/s----
AES-1281.492 MB/s1.274 MB/s0.801 MB/s0.776 MB/s0.789 MB/s0.788 MB/s
AES-1921.307 MB/s1.108 MB/s0.692 MB/s0.671 MB/s0.734 MB/s0.732 MB/s
AES-2561.162 MB/s0.981 MB/s0.609 MB/s0.591 MB/s0.684 MB/s0.685 MB/s
AlgorithmCBC Encrypt (Hardware)CBC Decrypt (Hardware)CCM Encrypt (Hardware)CCM Decrypt (Hardware)GCM Encrypt (Hardware)GCM Decrypt (Hardware)
AES-12816.26 MB/s16.26 MB/s--14.771 MB/s14.771 MB/s
AES-19215.313 MB/s15.243 MB/s--13.908 MB/s13.908 MB/s
AES-25614.45 MB/s14.388 MB/s--13.157 MB/s13.157 MB/s

Hash Algorithms

PIC32CX-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmSpeed (Software)Speed (Hardware)
MD59.066 MB/s-
SHA-11.795 MB/s62.111 MB/s
SHA-2241.413 MB/s68.493 MB/s
SHA-2561.413 MB/s68.965 MB/s
SHA-3840.598 MB/s-
SHA-5120.598 MB/s-
SHA3-2240.472 MB/s-
SHA3-2560.446 MB/s-
SHA3-3840.342 MB/s-
SHA3-5120.237 MB/s-

Signature Algorithms

PIC32CX-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
RSA (1024 bits)143.2 ms22 ms
RSA (2048 bits)849.9 ms81.6 ms
RSA (3072 bits)2570.4 ms176.3 ms
RSA (4096 bits)5763.6 ms311.8 ms
DSA (1024 bits)87.3 ms178 ms
DSA (2048 bits)434.6 ms902 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
RSA (1024 bits)11.6 ms1 ms
RSA (2048 bits)67.8 ms3.2 ms
RSA (3072 bits)205.7 ms6.8 ms
RSA (4096 bits)466.2 ms11.6 ms
DSA (1024 bits)15.6 ms40.4 ms
DSA (2048 bits)64 ms169.8 ms

EC Signature Algorithms

PIC32CX-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmSignature Generation (Software)Signature Verification (Software)
ECDSA (P-256)271.9 ms337.6 ms
ECDSA (P-384)521.6 ms631.1 ms
ECDSA (P-521)632.1 ms747.5 ms
EdDSA (Ed25519)90.3 ms178.2 ms
EdDSA (Ed448)414.5 ms824.2 ms
AlgorithmSignature Generation (Hardware)Signature Verification (Hardware)
ECDSA (P-256)22.9 ms45.6 ms
ECDSA (P-384)52.7 ms104.8 ms
ECDSA (P-521)112.5 ms224.4 ms

Key Exchange Algorithms

PIC32CX-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
Diffie-Hellman (1024 bits)360 ms360.1 ms
Diffie-Hellman (2048 bits)2641.5 ms2641.9 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
Diffie-Hellman (1024 bits)32.2 ms32.3 ms
Diffie-Hellman (2048 bits)227.4 ms227.4 ms

EC Key Exchange Algorithms

PIC32CX-SG @ 120 MHz

  • Benchmark generated with CycloneCRYPTO 2.2.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation (Software)Shared Secret Computation (Software)
ECDH (P-256)268.8 ms269 ms
ECDH (P-384)485.4 ms486.1 ms
ECDH (P-521)619 ms613.7 ms
ECDH (X25519)50.2 ms50.2 ms
ECDH (X448)218.7 ms218.7 ms
AlgorithmPublic Key Generation (Hardware)Shared Secret Computation (Hardware)
ECDH (P-256)22.5 ms22.5 ms
ECDH (P-384)51.4 ms51.3 ms
ECDH (P-521)110.9 ms110.9 ms