Ondřej Surý
3a4f820d62
Replace all random functions with isc_random, isc_random_buf and isc_random_uniform API.
...
The three functions has been modeled after the arc4random family of
functions, and they will always return random bytes.
The isc_random family of functions internally use these CSPRNG (if available):
1. getrandom() libc call (might be available on Linux and Solaris)
2. SYS_getrandom syscall (might be available on Linux, detected at runtime)
3. arc4random(), arc4random_buf() and arc4random_uniform() (available on BSDs and Mac OS X)
4. crypto library function:
4a. RAND_bytes in case OpenSSL
4b. pkcs_C_GenerateRandom() in case PKCS#11 library
2018-05-16 09:54:35 +02:00
..
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-04-06 08:04:41 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-09 12:14:16 +02:00
2018-05-16 09:54:35 +02:00
2018-04-20 16:14:51 -07:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-10 10:35:01 +02:00
2018-04-06 08:04:41 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-03 15:32:43 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-09 12:14:16 +02:00
2018-04-06 08:04:41 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-04-06 08:04:41 +02:00
2018-04-12 10:37:33 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-20 16:14:51 -07:00
2018-04-20 19:51:00 -04:00
2018-04-09 12:14:16 +02:00
2018-04-06 08:04:41 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-09 12:14:16 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-15 09:11:34 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-04-09 12:14:16 +02:00
2018-05-11 13:17:46 +02:00
2018-04-06 08:04:40 +02:00
2018-04-20 19:51:00 -04:00
2018-04-09 12:14:16 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-16 09:54:35 +02:00
2018-04-09 12:14:16 +02:00
2018-05-11 13:17:46 +02:00
2018-04-20 12:12:08 -07:00
2018-04-09 12:14:16 +02:00
2018-05-11 13:17:46 +02:00
2018-04-18 08:49:55 -07:00
2018-05-16 09:54:35 +02:00
2018-05-09 13:21:02 +02:00
2018-05-16 09:54:35 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00