summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/rng.h
blob: 27bbf74815e3f1cde55bc99eec718162acd8d589 (plain)
1
2
3
4
5
#include <stdlib.h>

int getentropy(unsigned char *b, size_t sz);
int arc4random_alloc(void **rsp, size_t rsp_size, void **rsxp, size_t rsxp_size);
void arc4random_close(void **rsp, void **rsxp);