Crypto Benchmark on PIC32CZ-CA90 MCU
ARM Cortex-M7 @ 300 MHz

This benchmark conducted on PIC32CZ CA90 Curiosity Ultra Board (EV16W43A) 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 PIC32CZ-CA90 microcontroller.

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

Cipher Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC1.479 MB/s1.461 MB/s--
3DES-CTR1.512 MB/s1.511 MB/s--
AES128-CBC7.142 MB/s5.934 MB/s76.923 MB/s76.923 MB/s
AES192-CBC6.313 MB/s5.208 MB/s72.463 MB/s72.463 MB/s
AES256-CBC5.665 MB/s4.644 MB/s68.027 MB/s68.027 MB/s
AES128-CTR7.446 MB/s7.434 MB/s--
AES192-CTR6.561 MB/s6.548 MB/s--
AES256-CTR5.858 MB/s5.847 MB/s--
SM4-CBC5.906 MB/s5.694 MB/s--
SM4-CTR6.226 MB/s6.218 MB/s--

AEAD Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmEncryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
AES128-GCM4.306 MB/s4.304 MB/s76.923 MB/s76.923 MB/s
AES192-GCM3.992 MB/s3.988 MB/s71.428 MB/s71.428 MB/s
AES256-GCM3.72 MB/s3.717 MB/s67.567 MB/s67.114 MB/s
AES128-CCM4.086 MB/s4.111 MB/s--
AES192-CCM3.546 MB/s3.565 MB/s--
AES256-CCM3.128 MB/s3.143 MB/s--
SM4-GCM3.824 MB/s3.808 MB/s--
SM4-CCM3.288 MB/s3.287 MB/s--
Ascon-AEAD1288.169 MB/s8.136 MB/s--
ChaCha20Poly13059.569 MB/s9.569 MB/s--

Hash Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmSpeed
(Software)
Speed
(Hardware)
MD531.847 MB/s-
SHA-19.871 MB/s57.471 MB/s
SHA-2246.811 MB/s64.102 MB/s
SHA-2566.807 MB/s64.102 MB/s
SHA-3844.273 MB/s71.942 MB/s
SHA-5124.273 MB/s72.463 MB/s
SHA3-2243.673 MB/s-
SHA3-2563.472 MB/s-
SHA3-3842.675 MB/s-
SHA3-5121.867 MB/s-
SM35.586 MB/s-
Ascon-Hash2563.043 MB/s-

Signature Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
RSA (1024 bits)38 ms4.9 ms
RSA (2048 bits)225.3 ms17.8 ms
RSA (3072 bits)686 ms38.2 ms
RSA (4096 bits)1546.5 ms67.3 ms
DSA (1024 bits)22 ms44.4 ms
DSA (2048 bits)111.7 ms229.4 ms

EC Signature Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmGeneration
(Software)
Verification
(Software)
ECDSA (secp256r1)25.8 ms23.1 ms
ECDSA (secp384r1)62.4 ms56.5 ms
ECDSA (secp521r1)133.6 ms119.8 ms
ECDSA (brainpoolP256r1)50.8 ms50.7 ms
ECDSA (brainpoolP384r1)127.8 ms127.9 ms
ECDSA (brainpoolP512r1)259.4 ms264.5 ms
SM249.4 ms19.8 ms
EdDSA (Ed25519)6.9 ms6.1 ms
EdDSA (Ed448)31.7 ms28.5 ms

Key Exchange Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)97.5 ms97.6 ms
Diffie-Hellman (2048 bits)718.8 ms718.9 ms

EC Key Exchange Algorithms

PIC32CZ-CA90 @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.4
  • Compiled using GCC with optimization level 3
AlgorithmPublic Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)22.6 ms22.6 ms
ECDH (secp384r1)54.3 ms54.4 ms
ECDH (secp521r1)114.7 ms114.8 ms
ECDH (brainpoolP256r1)47.1 ms47.1 ms
ECDH (brainpoolP384r1)118.5 ms118.5 ms
ECDH (brainpoolP512r1)240.2 ms240.2 ms
ECDH (SM2)22.5 ms22.6 ms
ECDH (X25519)3.7 ms3.6 ms
ECDH (X448)16.2 ms16.1 ms