File: entropy.h

package info (click to toggle)
python-scrypt 0.8.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 560 kB
  • sloc: ansic: 3,619; python: 499; sh: 120; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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_ */