18 #ifndef _PAL_PLAT_ENTROPY_H 19 #define _PAL_PLAT_ENTROPY_H 34 #define PAL_PLAT_MAX_ENTROPY_SIZE 48 77 #endif // _PAL_PLAT_ENTROPY_H PAL. This file contains the general API to initiate and destroy the PAL component. This is part of the PAL service API.
palStatus_t pal_plat_osEntropyRead(const char *entropyFileName, uint8_t *randomBufOut, size_t bufSizeBytes, size_t *actualRandomSizeBytesOut)
Read entropy from non-volatile memory.
palStatus_t pal_plat_osEntropyInject(const uint8_t *entropyBuf, size_t bufSizeBytes)
Inject entropy to non-volatile memory, so that the random number generator may use it...
PAL entropy. This file contains entropy injection and is part of the PAL API.
int32_t palStatus_t
Definition: pal_types.h:49