iPXE
Defines | Functions
efi_entropy.h File Reference

EFI entropy source. More...

#include <stdint.h>

Go to the source code of this file.

Defines

#define ENTROPY_PREFIX_efi   __efi_

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
static __always_inline
min_entropy_t 
ENTROPY_INLINE (efi, min_entropy_per_sample)(void)
 min-entropy per sample

Detailed Description

EFI entropy source.

Definition in file efi_entropy.h.


Define Documentation

#define ENTROPY_PREFIX_efi   __efi_

Definition at line 17 of file efi_entropy.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
static __always_inline min_entropy_t ENTROPY_INLINE ( efi  ,
min_entropy_per_sample   
) [inline, static]

min-entropy per sample

Return values:
min_entropymin-entropy of each sample

Definition at line 26 of file efi_entropy.h.

References MIN_ENTROPY.

                                                        {

        /* We use essentially the same mechanism as for the BIOS
         * RTC-based entropy source, and so assume the same
         * min-entropy per sample.
         */
        return MIN_ENTROPY ( 1.3 );
}