#include <assert.h>static int initialized =0;/* * Initialize the crypto library. */intcryptoint_initialize_library(void){if(!initialized) {
initialized =1;}return0;}/* * Clean up the crypto library state */voidcryptoint_cleanup_library(void){assert(initialized);prng_cleanup();
initialized =0;}