blob: 4321adac8e7ef93d3e3bac72c2d317871c062be7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <stdint.h>
#include <stddef.h>
void prng_add_entropy(const uint8_t* ptr, size_t nbytes); // add entropy to generator
uint16_t prng_word();
void prng_bytes(uint8_t* out, size_t nbytes); // generate some bytes
/* vim: set ts=4 sw=4 tw=0 noet :*/
|