Searched refs:randfile (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/bsd/ntp/dist/conf/
H A Dbaldwin.conf9 crypto randfile /.rnd # enable public key
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dapp_rand.c20 const char *randfile = NCONF_get_string(c, section, "RANDFILE"); local
22 if (randfile == NULL) {
26 if (RAND_load_file(randfile, -1) < 0) {
27 BIO_printf(bio_err, "Can't load %s into RNG\n", randfile);
31 save_rand_file = OPENSSL_strdup(randfile);
/netbsd-current/crypto/external/bsd/openssl/dist/apps/lib/
H A Dapp_rand.c21 const char *randfile = NCONF_get_string(c, section, "RANDFILE"); local
23 if (randfile == NULL) {
27 if (RAND_load_file(randfile, -1) < 0) {
28 BIO_printf(bio_err, "Can't load %s into RNG\n", randfile);
32 save_rand_file = OPENSSL_strdup(randfile);
35 BIO_printf(bio_err, "Can't duplicate %s\n", randfile);
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Dtls_o.c73 static int tlso_seed_PRNG( const char *randfile );
1593 tlso_seed_PRNG( const char *randfile )
1600 if (randfile == NULL) {
1606 randfile = RAND_file_name( buffer, sizeof( buffer ) );
1609 else if (RAND_egd(randfile) > 0) {
1615 if (randfile == NULL) {
1621 total = RAND_load_file(randfile, -1);
1632 RAND_write_file(randfile);
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_crypto.c3898 char *randfile; local
3926 randfile = filename;
3930 randfile = filename;
3932 randfile = rand_file;
3934 if ((bytes = RAND_load_file(randfile, -1)) == 0) {
3937 randfile);
3942 RAND_write_file(randfile);
3944 OpenSSL_version_num(), randfile, bytes));
4121 * Set random seed file name (randfile).

Completed in 140 milliseconds