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

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

PIC32CZ-CA 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-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
3DES-CBC1.259 MB/s1.233 MB/s--
3DES-CTR1.263 MB/s1.264 MB/s--
AES128-CBC6.218 MB/s6.226 MB/s29.761 MB/s29.673 MB/s
AES192-CBC5.417 MB/s5.482 MB/s28.571 MB/s28.571 MB/s
AES256-CBC4.805 MB/s4.909 MB/s27.397 MB/s27.322 MB/s
AES128-CTR5.97 MB/s5.966 MB/s29.411 MB/s29.239 MB/s
AES192-CTR5.23 MB/s5.227 MB/s28.328 MB/s28.169 MB/s
AES256-CTR4.655 MB/s4.655 MB/s27.173 MB/s27.1 MB/s
SM4-CBC5.115 MB/s4.94 MB/s--
SM4-CTR5.042 MB/s5.055 MB/s--

AEAD Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Encryption
(Software)
Decryption
(Software)
Encryption
(Hardware)
Decryption
(Hardware)
AES128-GCM3.542 MB/s3.541 MB/s28.409 MB/s28.328 MB/s
AES192-GCM3.262 MB/s3.261 MB/s27.397 MB/s27.247 MB/s
AES256-GCM3.025 MB/s3.024 MB/s26.315 MB/s26.178 MB/s
AES128-CCM3.172 MB/s3.173 MB/s--
AES192-CCM2.746 MB/s2.747 MB/s--
AES256-CCM2.423 MB/s2.424 MB/s--
SM4-GCM3.194 MB/s3.198 MB/s--
SM4-CCM2.646 MB/s2.644 MB/s--
Ascon-AEAD1286.297 MB/s6.218 MB/s--
ChaCha20Poly13054.759 MB/s4.746 MB/s--

Hash Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Speed
(Software)
Speed
(Hardware)
MD525.062 MB/s-
SHA-18.583 MB/s70.422 MB/s
SHA-2248.051 MB/s76.335 MB/s
SHA-2568.051 MB/s76.335 MB/s
SHA-3843.19 MB/s-
SHA-5123.19 MB/s-
SHA3-2241.348 MB/s-
SHA3-2561.274 MB/s-
SHA3-3840.977 MB/s-
SHA3-5120.679 MB/s-
SM36.91 MB/s-
Ascon-Hash2562.402 MB/s-

Signature Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
RSA (1024 bits)34.7 ms5.6 ms
RSA (2048 bits)179.1 ms19.4 ms
RSA (3072 bits)509.3 ms41 ms
RSA (4096 bits)1105.5 ms71.7 ms
DSA (1024 bits)19.2 ms39.3 ms
DSA (2048 bits)87.1 ms181.4 ms

EC Signature Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Generation
(Software)
Verification
(Software)
ECDSA (secp256r1)26.5 ms24.5 ms
ECDSA (secp384r1)68.3 ms61.8 ms
ECDSA (secp521r1)134.6 ms119.1 ms
ECDSA (brainpoolP256r1)51.7 ms51.4 ms
ECDSA (brainpoolP384r1)131.8 ms131.5 ms
ECDSA (brainpoolP512r1)264 ms267.9 ms
SM227.8 ms27.8 ms
EdDSA (Ed25519)7.7 ms7.1 ms
EdDSA (Ed448)44.7 ms39.9 ms

Key Exchange Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
Diffie-Hellman (1024 bits)71.7 ms71.7 ms
Diffie-Hellman (2048 bits)490.7 ms489.2 ms

EC Key Exchange Algorithms

PIC32CZ-CA @ 300 MHz

  • Benchmark generated with CycloneCRYPTO 2.5.0
  • Compiled using ARMCC with optimization level 3
Algorithm Public Key Generation
(Software)
Shared Secret Computation
(Software)
ECDH (secp256r1)23.4 ms23.3 ms
ECDH (secp384r1)60.2 ms60.1 ms
ECDH (secp521r1)116.2 ms116.1 ms
ECDH (brainpoolP256r1)48.1 ms48.1 ms
ECDH (brainpoolP384r1)122.4 ms122.4 ms
ECDH (brainpoolP512r1)244.7 ms244.6 ms
ECDH (SM2)27.7 ms27.7 ms
ECDH (X25519)4.3 ms4.2 ms
ECDH (X448)22.5 ms22.5 ms