Contiki-NG
|
An OFB-AES-128-based CSPRNG. More...
#include "lib/csprng.h"
#include "lib/aes-128.h"
#include "sys/cc.h"
#include <string.h>
#include "sys/log.h"
Go to the source code of this file.
Functions | |
void | csprng_feed (struct csprng_seed *new_seed) |
Mixes a new seed with the current one. | |
bool | csprng_rand (uint8_t *result, unsigned len) |
Generates a cryptographic random number. | |
An OFB-AES-128-based CSPRNG.
Definition in file csprng.c.