1
0
Fork 0
CTR and EAX modes built on nrf51 AES peripheral.
Go to file
Shawn Nock 1f80a3a3dc Initial Commit 2016-06-01 15:07:50 -04:00
template Initial Commit 2016-06-01 15:07:50 -04:00
.gitignore Initial Commit 2016-06-01 15:07:50 -04:00
Makefile Initial Commit 2016-06-01 15:07:50 -04:00
README.md Initial Commit 2016-06-01 15:07:50 -04:00
aes.c Initial Commit 2016-06-01 15:07:50 -04:00
aes.h Initial Commit 2016-06-01 15:07:50 -04:00
block.c Initial Commit 2016-06-01 15:07:50 -04:00
block.h Initial Commit 2016-06-01 15:07:50 -04:00
cmac.c Initial Commit 2016-06-01 15:07:50 -04:00
cmac.h Initial Commit 2016-06-01 15:07:50 -04:00
main.c Initial Commit 2016-06-01 15:07:50 -04:00

README.md

CMAC-AES128 for nRF51

  • Uses AES-ECB hardware peripheral
  • Includes target test app that runs the NIST 800-38B Examples
  • Includes host test app that checks the NIST 800-38B Examples (requires OpenSSL)

Usage

  1. Edit Makefile, special note to edit the path to the NRF-SDK (tested against SDK 10.0)

  2. Edit main.c:

 #define ERROR_LED_PIN 12
 #define ERROR_LED_ACTIVE LOW
  1. make:

    Output files in _build directory. Program to nRF51 dev. board to run tests on target.

  2. make test:

    Fakes AES128 peripheral using openssl, then runs tests on host.