18 #ifndef _PAL_PLAT_DRBG_H 19 #define _PAL_PLAT_DRBG_H 37 #define ENTROPY_RANDOM_SEED "B#S9---D" 106 #endif //_PAL_PLAT_RTOS_H palStatus_t pal_plat_DRBGInit(void)
Initialize all data structures (semaphores, mutexes, memory pools, message queues) at system initiali...
palStatus_t pal_plat_DRBGDestroy(void)
De-initialize thread objects.
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_osRandomBuffer(uint8_t *randomBuf, size_t bufSizeBytes, size_t *actualRandomSizeBytes)
Generate a random number into the given buffer with the given size in bytes.
palStatus_t pal_plat_osRandomBuffer_blocking(uint8_t *randomBuf, size_t bufSizeBytes)
Generate random number into given buffer with given size in bytes.
palStatus_t storage_kvstore_write(const char *item_name, const uint8_t *buffer, size_t buffer_size)
Direct write to internal KVstore used for entropy injection with non-TRNG.
int32_t palStatus_t
Definition: pal_types.h:55
palStatus_t storage_kvstore_read(const char *item_name, uint8_t *buffer, size_t buffer_size, size_t *buffer_actual_size_out)
Direct read from internal KVStore used for entropy injection with non-TRNG.