[riot-notifications] [RIOT] Initial import of crypto libs from SecureMicroMeshRouting (#391)

René Kijewski notifications at github.com
Fri Nov 29 18:46:17 CET 2013


> + * @}
> + */
> +
> +#include <stdio.h>
> +#include <stdarg.h>
> +#include <string.h>
> +#include <stdlib.h>
> +#include <stdint.h>
> +#include "crypto/aes.h"
> +#include "crypto/ciphers.h"
> +
> +/**
> + * Interface to the aes cipher
> + */
> +block_cipher_interface_t aes_interface = {
> +    "AES\0",

You could remove the "\0" from the names. A C string is implicitly null terminated.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/391/files#r8006084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131129/49ffda8a/attachment.html>


More information about the notifications mailing list