Hi Mathias,

You need to add:
USEMODULE += crypto
to your Makefile to enable the AES cypher in your implementation.
This line includes the crypto module which includes AES.
Just head over to the RIOT wiki to learn more about modules [1] and how to use 
them.

You can also have a look into the crypto unittests [2] to get some hints how to 
use the AES implementation.

Best Regards,
Martin

[1] https://github.com/RIOT-OS/RIOT/wiki/Introduction#including-modules
[2] https://github.com/RIOT-OS/RIOT/tree/master/tests/unittests/tests-crypto
________________________________________
Von: users [[email protected]]" im Auftrag von "Tausig 
Mathias [[email protected]]
Gesendet: Donnerstag, 11. Februar 2016 11:17
An: [email protected]
Betreff: [riot-users] Using AES encryption

Hy!

I am trying to write a litle RIOT-OS project which uses AES encryption.
After some fiddling around, I made it work by adding a "CFLAGS +=
-DCRYPTO_AES" line to my Makefile.
Is this the recommended way to do it? I am asking, because I could not
find any reference to it in the documentations.

cheers
Mathias
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to