File: crypto_entropy.h

package info (click to toggle)
scrypt 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,368 kB
  • sloc: ansic: 5,763; sh: 5,504; makefile: 257
file content (13 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CRYPTO_ENTROPY_H_
#define CRYPTO_ENTROPY_H_

#include <stddef.h>
#include <stdint.h>

/**
 * crypto_entropy_read(buf, buflen):
 * Fill the buffer with unpredictable bits.
 */
int crypto_entropy_read(uint8_t *, size_t);

#endif /* !CRYPTO_ENTROPY_H_ */