libcryfs/vendor/scrypt-1.2.0/libcperciva/util/entropy.h

14 lines
261 B
C
Raw Normal View History

#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_ */