f3e0affe8f | ||
---|---|---|
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
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
-
Edit
Makefile
, special note to edit the path to the NRF-SDK (tested against SDK 10.0) -
Edit main.c:
#define SUCCESS_LED 10 #define ERROR_LED 12 #define LED_ACTIVE LOW
-
make
:Output files in
_build
directory. Program to nRF51 dev. board to run tests on target. -
make test
:Fakes ECB peripheral using openssl, then runs tests on host.