[gnutls-help] GnuTLS and RNG

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Apr 26 00:32:23 CEST 2015


On Fri, 2015-04-24 at 10:43 -0400, jonetsu wrote:
> Hello,
> 
> Does GnuTLS implements its own random number generator ?  If so, are there any documents describing it ?

It uses a salsa20 based random generator for nonces and yarrow for
anything else. The source code in lib/nettle/rnd.c [0] is the reference
for it, but most probably you are interested in the rnd-fips.c [1].

[0]. https://gitlab.com/gnutls/gnutls/blob/master/lib/nettle/rnd.c
[1]. https://gitlab.com/gnutls/gnutls/blob/master/lib/nettle/rnd-fips.c

regards,
Nikos





More information about the Gnutls-help mailing list