X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b04a7659918367dcc8570e1c7b4246a97e88288d..f41f820e4b3e230d9314cc4323abf59babdd4e67:/dsa-gen.c diff --git a/dsa-gen.c b/dsa-gen.c index d26bfe4..40454d8 100644 --- a/dsa-gen.c +++ b/dsa-gen.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: dsa-gen.c,v 1.4 1999/12/22 15:52:44 mdw Exp $ + * $Id: dsa-gen.c,v 1.5 2000/02/12 18:21:02 mdw Exp $ * * Generate DSA shared parameters * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: dsa-gen.c,v $ + * Revision 1.5 2000/02/12 18:21:02 mdw + * Overhaul of key management (again). + * * Revision 1.4 1999/12/22 15:52:44 mdw * Reworking for new prime-search system. * @@ -141,7 +144,12 @@ int dsa_step(int rq, pgen_event *ev, void *p) * Returns: @PGEN_DONE@ if everything worked ok; @PGEN_ABORT@ otherwise. * * Use: Generates the DSA shared parameters from a given seed value. - * This can take quite a long time. + * + * The parameters are a prime %$q$%, relatively small, and a + * large prime %$p = kq + 1$% for some %$k$%, together with a + * generator %$g$% of the cyclic subgroup of order %$q$%. These + * are actually the same as the Diffie-Hellman parameter set, + * but the generation algorithm is different. * * The algorithm used is a compatible extension of the method * described in the DSA standard, FIPS 186. The standard