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
Folder | Description |
---|---|
apps | SpeedTest example applications |
docs | Applications 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.
SAME54 | SAME70 | SAML11 | SAML21 | SAME54 | SAME70 | SAML11 | SAML21 | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Software only | Hardware accelerated | ||||||||||
Clock speed | (MHz) | 120 | 300 | 32 | 48 | 120 | 300 | 32 | 48 | ||
Accelerator | PUKCC,AES256,ICM | AES256,ICM | CRYA | AES256 | |||||||
Test | Data size (bytes) | ||||||||||
SHA 256 | 3 | (Mbps) | 0.0788 | 0.3581 | 0.0105 | 0.0120 | 0.1097 | 0.3883 | 0.0176 | 0.0120 | |
SHA 256 | 112 | (Mbps) | 1.6800 | 7.3850 | 0.2085 | 0.2383 | 3.6423 | 11.0681 | 0.3755 | 0.2370 | |
SHA 384 | 3 | (Mbps) | 0.0099 | 0.0572 | 0.0032 | 0.0036 | 0.0098 | 0.0561 | 0.0032 | 0.0036 | |
SHA 384 | 112 | (Mbps) | 0.1856 | 1.1458 | 0.0613 | 0.0690 | 0.1855 | 1.1082 | 0.0613 | 0.0690 | |
SHA 512 | 3 | (Mbps) | 0.0098 | 0.0605 | 0.032 | 0.0036 | 0.0098 | 0.0534 | 0.0032 | 0.0036 | |
SHA 512 | 112 | (Mbps) | 0.1855 | 1.1933 | 0.0611 | 0.0689 | 0.1855 | 1.0950 | 0.0611 | 0.0689 | |
AES CFB 128 | 64 | (Mbps) | 0.8064 | 4.8452 | - | 0.1426 | 4.4972 | 16.9692 | - | 0.8793 | |
AES CFB 192 | 64 | (Mbps) | 0.7033 | 4.2764 | - | 0.1288 | 4.5554 | 16.7435 | - | 0.8479 | |
AES CFB 256 | 64 | (Mbps) | 0.6235 | 3.8299 | - | 0.1585 | 4.2705 | 16.2696 | - | 0.8096 | |
AES CTR 128 | 64 | (Mbps) | 0.7965 | 4.5631 | - | 0.1643 | 9.0307 | 11.9741 | - | 2.5314 | |
AES CTR 192 | 64 | (Mbps) | 0.6975 | 4.0551 | - | 0.1462 | 8.5626 | 10.6191 | - | 2.3776 | |
AES CTR 256 | 64 | (Mbps) | 0.6176 | 3.6473 | - | 0.1317 | 7.8854 | 9.2972 | - | 2.2777 | |
AES GCM 128 | 2944 | (Mbps) | 0.2903 | 1.1774 | - | 0.0677 | 13.0350 | 31.8273 | - | 4.0363 | |
AES ECB 128 | 5120 | (Mbps) | 0.8406 | 5.1478 | - | 0.1772 | 14.4751 | 8.8705 | - | 4.7271 | |
DES3 CBC | 448 | (Mbps) | 0.1983 | 1.1667 | 0.0458 | 0.0519 | 0.1991 | 1.1674 | 0.0458 | 0.0520 | |
WOLF RSA VERIFY256 | 19 | (ms) | 32.5 | 6.9 | - | - | 4.6 | 6.7 | - | - | |
WOLF RSA SIGN256 | 19 | (ms) | 1755.4 | 368.2 | - | - | 1771.8 | 374.4 | - | - |