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
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <stdint.h>
14
15extern int get_random_nz ( void *data, size_t len );
16
17#endif /* _IPXE_RANDOM_NZ_H */
ring len
Length.
Definition dwmac.h:226
uint8_t data[48]
Additional event data.
Definition ena.h:11
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
int get_random_nz(void *data, size_t len)
Get random non-zero bytes.
Definition random_nz.c:63