/* This function may be used to specify the file to be used as a seed file for the PRNG. This function should be called prior to the initialization of the random module. NAME may not be NULL. */ void _gcry_set_random_seed_file (const char *name) { if (fips_mode ()) ; /* No need for this in fips mode. */ else if (rng_types.standard) _gcry_rngcsprng_set_seed_file (name); else if (rng_types.fips) ; else if (rng_types.system) ; else /* default */ _gcry_rngcsprng_set_seed_file (name); }
/* This function may be used to specify the file to be used as a seed file for the PRNG. This function should be called prior to the initialization of the random module. NAME may not be NULL. */ void _gcry_set_random_seed_file (const char *name) { if (fips_mode ()) ; /* No need for this in fips mode. */ else _gcry_rngcsprng_set_seed_file (name); }