iPXE
include
ipxe
random_nz.h
Go to the documentation of this file.
1
#ifndef _IPXE_RANDOM_NZ_H
2
#define _IPXE_RANDOM_NZ_H
3
4
/** @file
5
*
6
* HMAC_DRBG algorithm
7
*
8
*/
9
10
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
11
12
#include <
stdint.h
>
13
14
extern
int
get_random_nz
(
void
*
data
,
size_t
len
);
15
16
#endif
/* _IPXE_RANDOM_NZ_H */
get_random_nz
int get_random_nz(void *data, size_t len)
Get random non-zero bytes.
Definition:
random_nz.c:62
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
len
uint32_t len
Length.
Definition:
ena.h:14
data
uint8_t data[48]
Additional event data.
Definition:
ena.h:22
stdint.h
Generated by
1.8.15