File: crypto_entropy.h

package info (click to toggle)
scrypt 1.2.0%2Bgit.3.c1a9826-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 456 kB
  • ctags: 328
  • sloc: ansic: 3,307; sh: 391; makefile: 103
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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.  The value ${buflen} must be
 * less than 2^16.
 */
int crypto_entropy_read(uint8_t *, size_t);

#endif /* !_CRYPTO_ENTROPY_H_ */