85 DBGC ( &
rbg,
"RBG could not fetch personalisation string: " 92 DBGC ( &
rbg,
"RBG could not instantiate DRBG: %s\n",
#define STARTUP_NORMAL
Normal startup.
struct arbelprm_rc_send_wqe rc
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static int rbg_startup(void)
Start up RBG.
static void rbg_shutdown_fn(int booting __unused)
RBG shutdown function.
A startup/shutdown function.
#define __unused
Declare a variable or data structure as unused.
static void rbg_startup_fn(void)
RBG startup function.
struct startup_fn startup_rbg __startup_fn(STARTUP_NORMAL)
RBG startup table entry.
char * strerror(int errno)
Retrieve string representation of error number.
static void rbg_shutdown(void)
Shut down RBG.
int drbg_instantiate(struct drbg_state *state, const void *personal, size_t personal_len)
Instantiate DRBG.
struct random_bit_generator rbg
The RBG.
int fetch_uuid_setting(struct settings *settings, const struct setting *setting, union uuid *uuid)
Fetch value of UUID setting.
void drbg_uninstantiate(struct drbg_state *state)
Uninstantiate DRBG.
#define NULL
NULL pointer (VOID *)
struct drbg_state state
DRBG state.