From 670b2284e15b3536102598015d9af7506689fad0 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 12 Feb 2001 15:40:43 +0000 Subject: [PATCH] update. --- lib/silccrypt/silcdh.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/silccrypt/silcdh.h b/lib/silccrypt/silcdh.h index b5f890c1..e51f6927 100644 --- a/lib/silccrypt/silcdh.h +++ b/lib/silccrypt/silcdh.h @@ -57,10 +57,10 @@ SilcDH silc_dh_alloc(SilcRng rng, SilcInt *g, SilcInt *p, SilcInt *lpf); allocation. Frees all the allocated data inside the DH context. */ void silc_dh_free(SilcDH dh); -/* Generates random private value `x' such that 0 < x < lpf. Returns FALSE - if the random number could not be generated. Returns the generated - value into `x' pointer sent as argument, unless the `x' is NULL. The - returned `x' must no be freed by the caller. */ +/* Generates random private value `x' such that 0 < x < lpf at least of + length of lpf. Returns FALSE if the random number could not be generated. + Returns the generated value into `x' pointer sent as argument, unless + the `x' is NULL. The returned `x' must no be freed by the caller. */ int silc_dh_generate_private(SilcDH dh, SilcInt **x); /* Computes the public key y = g ^ x mod p, and returns it to the `y' -- 2.24.0