]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(Randomness): Documented that yarrow256_init can
authorNiels Möller <nisse@lysator.liu.se>
Sat, 28 Sep 2002 13:58:03 +0000 (15:58 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 28 Sep 2002 13:58:03 +0000 (15:58 +0200)
be called with a zero number of sources.

Rev: src/nettle/nettle.texinfo:1.17

nettle.texinfo

index ef1c22d256e1565b1b5eaa75202ad39b966394ee..b10b5a23ab15e06c45be8a43f341f121dfa79c38 100644 (file)
@@ -1747,7 +1747,9 @@ The size of the Yarrow-256 seed file.
 @end defvr
 
 @deftypefun void yarrow256_init (struct yarrow256_ctx *@var{ctx}, unsigned @var{nsources}, struct yarrow_source *@var{sources})
-Initializes the yarrow context, and its @var{nsources} sources.
+Initializes the yarrow context, and its @var{nsources} sources. It's
+possible to use call it with @var{nsources}=0 and @var{sources}=NULL, if
+you don't need the update features.
 @end deftypefun
 
 @deftypefun void yarrow256_seed (struct yarrow256_ctx *@var{ctx}, unsigned @var{length}, uint8_t *@var{seed_file})