Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
/ nrf51_cryptolib Public archive

Implementations of ECB, CTR, EAX, CMAC and CMAC-KDF using the ECB periphera of the nrf51xxx uControllerl

License

Notifications You must be signed in to change notification settings

nocko/nrf51_cryptolib

Repository files navigation

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.

About

Implementations of ECB, CTR, EAX, CMAC and CMAC-KDF using the ECB periphera of the nrf51xxx uControllerl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published