Yo Kurt!

On Sat, 28 Jan 2017 23:18:01 +0100
Kurt Roeckx <k...@roeckx.be> wrote:

> > rand() and RAND_pseudo_rand() are not random, just psuedo random,
> > thus not for NTP.  
> 
> I have no idea what you're using random numbers for, but if
> unpredicable is what you want rand() is probably not what you
> want.

NTP uses random numbers for three reasons:

1. To generate crypto keys: ntpkeygen

2. To add to the LSB's of time stamps as a nonce

3. To use as fuzz around very small time measurements.

The dirst is Python, the later two are C code that will be using only
OpenSSL soon.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgp0EhwX8wgCO.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to