073f41085f
ANS X9.82 specifies several Approved Sources of Entropy Input (SEI). One such SEI uses an entropy source as the Source of Entropy Input, condensing each entropy source output after each GetEntropy call. This can be implemented relatively cheaply in iPXE and avoids the need to allocate potentially very large buffers. (Note that the terms "entropy source" and "Source of Entropy Input" are not synonyms within the context of ANS X9.82.) Use the iPXE API mechanism to allow entropy sources to be selected at compilation time. Signed-off-by: Michael Brown <mcb30@ipxe.org>
17 lines
229 B
C
17 lines
229 B
C
#ifndef CONFIG_ENTROPY_H
|
|
#define CONFIG_ENTROPY_H
|
|
|
|
/** @file
|
|
*
|
|
* Entropy API configuration
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#include <config/defaults.h>
|
|
|
|
#include <config/local/entropy.h>
|
|
|
|
#endif /* CONFIG_ENTROPY_H */
|