Skip to content
This repository has been archived by the owner. It is now read-only.
Implementations of ECB, CTR, EAX, CMAC and CMAC-KDF using the ECB periphera of the nrf51xxx uControllerl
C Assembly Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
template
tests
.gitignore
LICENSE
Makefile
README.md
aes.c
aes.h
block.c
block.h
ckdf.c
ckdf.h
cmac.c
cmac.h
ctr.c
ctr.h
eax.c
eax.h
main.c
openocd.cfg
rng.c
rng.h

README.md

This repo has moved here

Cryptography Library for nRF51

  • Uses AES-ECB hardware peripheral
  • Includes target test app that runs the EAX test vectors
  • Includes host test app that verifies the test vectors from NIST 800-38B, EAX papes, NIST 800-38A F5.1 (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 SUCCESS_LED 10
 #define ERROR_LED 12
 #define LED_ACTIVE LOW
  1. make:

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

  2. make test:

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

You can’t perform that action at this time.