libcryfs/vendor/scrypt-1.2.0/libcperciva/util/entropy.h
2016-02-10 00:58:03 +01:00

14 lines
261 B
C

#ifndef _ENTROPY_H_
#define _ENTROPY_H_
#include <stddef.h>
#include <stdint.h>
/**
* entropy_read(buf, buflen):
* Fill the given buffer with random bytes provided by the operating system.
*/
int entropy_read(uint8_t *, size_t);
#endif /* !_ENTROPY_H_ */