1 #ifndef _IPXE_EFI_ENTROPY_H
2 #define _IPXE_EFI_ENTROPY_H
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
15 #define ENTROPY_PREFIX_efi
17 #define ENTROPY_PREFIX_efi __efi_
21 * min-entropy per sample
23 * @ret min_entropy min-entropy of each sample
25 static inline __always_inline double
26 ENTROPY_INLINE ( efi, min_entropy_per_sample ) ( void ) {
28 /* We use essentially the same mechanism as for the BIOS
29 * RTC-based entropy source, and so assume the same
30 * min-entropy per sample.
35 #endif /* _IPXE_EFI_ENTROPY_H */