Yo Hal!

On Sat, 28 Jan 2017 12:39:02 -0800
Hal Murray <hmur...@megapathdsl.net> wrote:

> Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
> Stdlib: 1000000 calls to rand() took 0.021 microseconds each
> Sodium: 1000000 calls to randombytes_buf() took 0.367 microseconds
> each 
> OpenSSL: 1000000 calls to RAND_pseudo_bytes() took 0.630
> microseconds each

rand() and RAND_pseudo_rand() are not random, just psuedo random, thus
not for NTP.

What about the OpenSSL RAND_bytes()?

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: pgpNziWjr7gPE.pgp
Description: OpenPGP digital signature

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

Reply via email to