1 MPLAB® Harmony 3 Crypto SpeedTest Application Examples

MPLAB® Harmony 3 is an extension of the MPLAB® ecosystem for creating embedded firmware solutions for Microchip 32-bit SAM and PIC® microcontroller and microprocessor devices. Refer to the following links for more information.

This repository contains the MPLAB® Harmony 3 Cryptography SpeedTest application examples.

To clone or download these application from Github, go to the main page of this repository and then click Clone button to clone this repo or download as zip file. This content can also be download using content manager by following these instructions.

Contents Summary

FolderDescription
appsSpeedTest example applications
docsApplications help documentation

Building and running a SpeedTest application is described in these instructions.

Speed Comparison

Selected samples of data determined by the SpeedTest demo programs. The values shown were obtained by running the demo programs on Xplained or Curiosity hardware and are intended only for the purpose of demonstrating program results. Results realized in any specific application depend on Harmony3 configuration options and package revisions, settings of the compiler, MCU configuration (such as clock speed), and on operational factors such as operating system and interrupt tasking.
SAME54SAME70SAML11SAML21SAME54SAME70SAML11SAML21
Software onlyHardware accelerated
Clock speed(MHz)12030032481203003248
AcceleratorPUKCC,AES256,ICMAES256,ICMCRYAAES256
TestData size (bytes)
SHA 2563(Mbps)0.07880.35810.01050.01200.10970.38830.01760.0120
SHA 256112(Mbps)1.68007.38500.20850.23833.642311.06810.37550.2370
SHA 3843(Mbps)0.00990.05720.00320.00360.00980.05610.00320.0036
SHA 384112(Mbps)0.18561.14580.06130.06900.18551.10820.06130.0690
SHA 5123(Mbps)0.00980.06050.0320.00360.00980.05340.00320.0036
SHA 512112(Mbps)0.18551.19330.06110.06890.18551.09500.06110.0689
AES CFB 12864(Mbps)0.80644.8452-0.14264.497216.9692-0.8793
AES CFB 19264(Mbps)0.70334.2764-0.12884.555416.7435-0.8479
AES CFB 25664(Mbps)0.62353.8299-0.15854.270516.2696-0.8096
AES CTR 12864(Mbps)0.79654.5631-0.16439.030711.9741-2.5314
AES CTR 19264(Mbps)0.69754.0551-0.14628.562610.6191-2.3776
AES CTR 25664(Mbps)0.61763.6473-0.13177.88549.2972-2.2777
AES GCM 1282944(Mbps)0.29031.1774-0.067713.035031.8273-4.0363
AES ECB 1285120(Mbps)0.84065.1478-0.177214.47518.8705-4.7271
DES3 CBC448(Mbps)0.19831.16670.04580.05190.19911.16740.04580.0520
WOLF RSA VERIFY25619(ms)32.56.9--4.66.7--
WOLF RSA SIGN25619(ms)1755.4368.2--1771.8374.4--