1
0
Fork 0
nrf51-cryptolib/README.md

27 lines
593 B
Markdown
Raw Normal View History

2016-06-01 15:07:50 -04:00
# 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
3. `make`:
Output files in `_build` directory. Program to nRF51 dev. board to
run tests on target.
4. `make test`:
Fakes AES128 peripheral using openssl, then runs tests on host.