4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-17 03:49:46 +08:00
Corinna Vinschen 74f7872f89 Rearrange RNG code slightly
In preparation of exporting getentropy/getrandom to userspace, rearrange
code a bit:

- Define RtlGenRandom in ntdll.h.

- Drop calls to getentropy in favor of RtlGenRandom (fhandler_socket,
  fhandler_dev_random).

- Add try/except blocks in fhandler_dev_random to return EFAULT rather
  than crashing if buffer pointer is invalid.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-12-13 22:59:31 +01:00
..
2016-11-22 14:21:35 +01:00
2016-11-24 16:09:31 +01:00
2016-08-23 17:51:14 +02:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2016-08-23 15:07:42 +01:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2016-06-25 00:43:01 +02:00
2016-12-13 22:59:31 +01:00
2016-12-13 22:59:31 +01:00
2015-03-03 12:58:34 +00:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2016-06-25 17:08:18 +01:00
2016-12-13 22:59:31 +01:00
2016-08-23 15:07:42 +01:00
2015-08-17 11:05:43 +02:00
2016-06-23 16:56:41 +02:00
2016-06-24 23:32:39 +02:00
2016-06-23 21:30:15 +02:00
2016-08-23 15:07:42 +01:00
2016-12-13 22:59:31 +01:00
2016-06-24 23:32:39 +02:00
2016-08-19 16:27:07 +02:00
2016-07-27 17:02:08 +01:00
2016-08-23 15:07:42 +01:00
2016-06-23 16:56:41 +02:00
2016-08-18 10:27:28 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 23:33:01 +02:00