File: rdrand.h

package info (click to toggle)
haskell-entropy 0.4.1.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104 kB
  • sloc: haskell: 355; ansic: 182; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#ifndef rdrand_h
#ifdef HAVE_RDRAND
#include <stdint.h>

int cpu_has_rdrand()

// Returns 0 on success, non-zero on failure.
int get_rand_bytes(uint8_t *therand, size_t len)
#endif // HAVE_RDRAND
#endif // rdrand_h