Files
heimdal/lib/roken
Jeffrey Altman 4cf66ae8e4 roken: use Win32 rand_s() for rk_random() when available
On Windows if the compiler and C RTL is >= 1400 then the rand_s()
function is available.  rand_s() unlike rand() makes use of the
RtlGenRandom() API to produce a random number between 0 and UINT_MAX.
If rand_s() is not available or fails, fallback to rand().

One of the benefits of rand_s() is that no initialization is required
so it will provide random output even if rk_random_init() is not called.

Change-Id: I2768155de744bd49604fc8237728bb205d637f2a
2015-04-11 01:35:32 -04:00
..
2014-08-22 21:23:30 -07:00
2014-08-22 20:57:24 -07:00
2014-08-22 20:57:24 -07:00
2009-11-24 21:42:02 -08:00
2008-09-13 08:53:55 +00:00
2009-11-24 21:42:02 -08:00
2013-08-19 10:21:23 -04:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-08-19 04:04:16 -07:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2013-09-10 22:31:37 -04:00
2009-08-18 13:06:05 +02:00
2011-04-29 20:25:05 -07:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-26 01:57:11 -05:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2014-04-25 02:42:17 +02:00
2010-08-20 13:04:06 -04:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2010-11-24 09:43:04 +00:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-01-25 00:30:37 +00:00
2011-06-14 21:57:34 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2010-08-20 13:03:40 -04:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2015-03-24 11:50:00 -05:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2015-03-05 17:06:20 +00:00
2008-09-13 08:53:55 +00:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-01-25 00:30:37 +00:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-01-25 00:30:37 +00:00
2011-05-21 11:57:31 -07:00
2013-11-17 12:48:41 +01:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2011-09-21 17:38:21 +02:00
2010-06-01 10:46:57 -07:00
2012-06-08 17:57:02 +02:00
2013-05-07 16:47:45 -07:00
2013-05-07 16:47:45 -07:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2010-05-30 12:41:06 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2014-02-23 23:24:48 -05:00
2009-09-07 21:24:36 -07:00
2011-05-21 11:57:31 -07:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2012-01-17 12:10:14 -06:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2010-06-01 10:25:01 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-01-25 00:30:37 +00:00
2009-01-25 00:30:37 +00:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2011-05-21 11:57:31 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2010-05-30 12:41:06 -07:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2009-01-25 00:30:37 +00:00
2009-11-24 21:42:02 -08:00
2009-11-24 21:42:02 -08:00
2012-07-20 09:40:22 -04:00
2009-11-24 21:42:02 -08:00
2008-09-13 09:21:03 +00:00
2009-11-24 21:42:02 -08:00