Lines Matching refs:rng_state
262 * rng_state shall be NULL.
264 static int rnd_std_rand( void *rng_state, unsigned char *output, size_t len )
269 if( rng_state != NULL )
270 rng_state = NULL;
275 if( rng_state != NULL )
276 rng_state = NULL;
287 * rng_state shall be NULL.
289 static int rnd_zero_rand( void *rng_state, unsigned char *output, size_t len )
291 if( rng_state != NULL )
292 rng_state = NULL;
308 * rng_state shall be a pointer to a rnd_buf_info structure.
316 static int rnd_buffer_rand( void *rng_state, unsigned char *output, size_t len )
318 rnd_buf_info *info = (rnd_buf_info *) rng_state;
321 if( rng_state == NULL )
360 * rng_state shall be a pointer to a rnd_pseudo_info structure.
362 static int rnd_pseudo_rand( void *rng_state, unsigned char *output, size_t len )
364 rnd_pseudo_info *info = (rnd_pseudo_info *) rng_state;
368 if( rng_state == NULL )