Home
last modified time | relevance | path

Searched refs:randomness (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/crypto/openssl/doc/man3/
H A DRAND_add.pod7 - add randomness to the PRNG or get its status
16 void RAND_add(const void *buf, int num, double randomness);
49 The B<randomness> argument is an estimate of how much randomness is
52 Details about sources of randomness and how to estimate their randomness
58 RAND_seed() is equivalent to RAND_add() with B<randomness> set to B<num>.
H A DRAND_egd.pod18 On older platforms without a good source of randomness such as C</dev/urandom>,
20 socket to obtain randomness and seed the OpenSSL RNG.
24 RAND_egd_bytes() requests B<num> bytes of randomness from an EGD at the
28 RAND_query_egd_bytes() requests B<num> bytes of randomness from an EGD at
H A DRAND_bytes.pod35 RAND_priv_bytes() and do not take randomness for granted: an error occurs
36 if the CSPRNG has not been seeded with enough randomness to ensure an
H A DRAND_DRBG_set_callbacks.pod65 bits of randomness.
70 randomness bytes as return value.
72 If the callback fails to acquire at least B<entropy> bits of randomness,
H A DBN_rand.pod54 randomness for granted: an error occurs if the CSPRNG has not been
55 seeded with enough randomness to ensure an unpredictable byte sequence.
H A DRAND_set_rand_method.pod39 void (*add)(const void *buf, int num, int randomness);
H A DOPENSSL_instrument_bus.pod19 gathering randomness for random number generator. In order to make it
H A DSSL_CTX_set_generate_session_id.pod67 achieved without randomness added (it should however be taken care that
/freebsd-12.1/crypto/openssl/include/openssl/
H A Drand.h26 int (*add) (const void *buf, int num, double randomness);
52 void RAND_add(const void *buf, int num, double randomness);
/freebsd-12.1/crypto/openssl/doc/man7/
H A DRAND_DRBG.pod82 the two other two DRBG instances. It reseeds itself by obtaining randomness
83 either from os entropy sources or by consuming randomness which was added
202 If L<RAND_add(3)> is called with a positive I<randomness> argument
205 call and reseed, pulling randomness from <master>.
241 value of the B<randomness> argument:
245 =item randomness == 0:
253 =item randomness > 0:
260 It is possible to provide less randomness than required.
261 In this case the missing randomness will be obtained by pulling random input
271 At least 48 bytes (384 bits) of randomness have to be provided, otherwise
H A DRAND.pod12 Software-based generators must be seeded with external randomness before they
30 return value of L<RAND_bytes(3)> and do not take randomness for granted.
40 This method does not provide 'better' randomness, it uses the same type of CSPRNG.
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DFindBugs.cpp39 std::mt19937 randomness(std::random_device{}()); in runManyPasses() local
45 std::shuffle(PassesToRun.begin(), PassesToRun.end(), randomness); in runManyPasses()
H A DListReducer.h50 std::mt19937 randomness(0x6e5ea738); // Seed the random number generator in reduceList()
96 std::shuffle(ShuffledList.begin(), ShuffledList.end(), randomness); in reduceList()
/freebsd-12.1/crypto/openssl/crypto/rand/
H A Ddrbg_lib.c1013 static int drbg_add(const void *buf, int num, double randomness) in drbg_add() argument
1023 if (num < 0 || randomness < 0.0) in drbg_add()
1031 if (buflen < seedlen || randomness < (double) seedlen) { in drbg_add()
1051 randomness = 0.0; in drbg_add()
1056 if (randomness > (double)seedlen) { in drbg_add()
1065 randomness = (double)seedlen; in drbg_add()
1068 ret = rand_drbg_restart(drbg, buf, buflen, (size_t)(8 * randomness)); in drbg_add()
H A Drand_lib.c903 void RAND_add(const void *buf, int num, double randomness) in RAND_add() argument
908 meth->add(buf, num, randomness); in RAND_add()
/freebsd-12.1/contrib/apr/random/unix/
H A Dapr_random.c76 unsigned char *randomness; member
138 g->randomness = apr_palloc(p,B_size(g)); in apr_random_init()
278 apr_random_block(g,g->randomness); in apr_random_bytes()
282 memcpy(&random[n],g->randomness+B_size(g)-g->random_bytes,l); in apr_random_bytes()
/freebsd-12.1/tools/tools/qrndtest/
H A DREADME3 If you want a real randomness tester, look at dieharder that has a much
/freebsd-12.1/crypto/heimdal/lib/sqlite/
H A Dsqlite3ext.h187 void (*randomness)(int,void*); member
390 #define sqlite3_randomness sqlite3_api->randomness
/freebsd-12.1/contrib/apr/misc/unix/
H A Drandbyte_os2.inc60 * randomness due to interference of hardware events.
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3ext.h202 void (*randomness)(int,void*); member
521 #define sqlite3_randomness sqlite3_api->randomness
/freebsd-12.1/contrib/wpa/hostapd/
H A Ddefconfig263 # yet secure randomness source than /dev/random on Linux 3.17 and newer.
/freebsd-12.1/crypto/openssl/
H A DINSTALL1267 I) On operating systems which provide a suitable randomness source (in
1270 randomness sources. This corresponds to the option --with-rand-seed=os.
1272 II) On systems without such a suitable randomness source, automatic seeding
H A DNEWS22 o Significantly reduce secure memory usage by the randomness pools
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Ddefconfig474 # yet secure randomness source than /dev/random on Linux 3.17 and newer.
/freebsd-12.1/contrib/ldns/
H A DChangelog626 * Fixed a bug in the randomness initialization

12