sandeepmistry / arduino-nRF5

Arduino Core for Nordic Semiconductor nRF5 based boards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to using AES in NRF51.

NgHieuPickon opened this issue · comments

Hi everybody,
I have a project with Generic NRF51 (NRF51822) and use an AES encryption library in the arduino release documentation - - https://www.arduino.cc/reference/en/libraries/aeslib/
When I start the "simple" example, the console shows "AES_config.h:37:85: fatal error: pgmspace.h: No such file or directory".
I understand that in the core there is no such file. But I think there must be a way to use it.
I know in Softdevice (https://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00756.html) there is AES ECB encryption but i don't know how to use it.
Please help me!