Hi Mathias! On Thu, Feb 11, 2016 at 10:17:58AM +0000, Tausig Mathias wrote: > 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.
If I understand http://doc.riot-os.org/group__sys__crypto.html correctly, you should add USEMODULE += crypto to your Makefile (which is the usual RIOT way to add modules to your application) and then chose the according crypto mechanism in the cipher_init() function. Cheers, Oleg -- What's the best thing about Prolog jokes? No.
signature.asc
Description: PGP signature
_______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
