Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
hwrng.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2014-2016 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
39
40
#include <stdint.h>
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
55
void
hwrng_init
(
void
);
56
66
void
hwrng_read
(
void
*buf,
unsigned
int
num);
67
68
#ifdef __cplusplus
69
}
70
#endif
71
hwrng_init
void hwrng_init(void)
Initialize the hardware random number generator.
hwrng_read
void hwrng_read(void *buf, unsigned int num)
Read N bytes of random data from the hardware device.
Generated on Mon May 4 2026 10:43:35 by
1.13.2