From: Nikos Mavrogiannopoulos Date: Tue, 28 Oct 2014 09:40:53 +0000 (+0100) Subject: doc update X-Git-Tag: gnutls_3_4_0~730 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12eac2eee3752daf4d8c291e48e36f3b11637bb1;p=thirdparty%2Fgnutls.git doc update --- diff --git a/lib/nettle/rnd.c b/lib/nettle/rnd.c index 99ae9da58e..ed63afdf2d 100644 --- a/lib/nettle/rnd.c +++ b/lib/nettle/rnd.c @@ -153,6 +153,11 @@ static void wrap_nettle_rnd_deinit(void *ctx) rnd_ctx.mutex = NULL; } +/* Initializes the nonce level random generator. + * + * @init must be non zero on first initialization, and + * zero on any subsequent reinitializations. + */ static int nonce_rng_init(struct nonce_ctx_st *ctx, unsigned init) { uint8_t buffer[SALSA20_KEY_SIZE];