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 */
int get_random_nz(void *data, size_t len)
Get random non-zero bytes.
Definition: random_nz.c:62
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t len
Length.
Definition: ena.h:14
uint8_t data[48]
Additional event data.
Definition: ena.h:22