From: mdw Date: Sat, 17 Jun 2000 10:54:59 +0000 (+0000) Subject: Typesetting fixes. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/e8c3c91f8fb415f754fe861ef69a3da1c8403e71 Typesetting fixes. --- diff --git a/dsa-verify.c b/dsa-verify.c index fee0dd3..7a1dc11 100644 --- a/dsa-verify.c +++ b/dsa-verify.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: dsa-verify.c,v 1.3 1999/12/10 23:18:38 mdw Exp $ + * $Id: dsa-verify.c,v 1.4 2000/06/17 10:53:35 mdw Exp $ * * DSA signature verification * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: dsa-verify.c,v $ + * Revision 1.4 2000/06/17 10:53:35 mdw + * Typesetting fixes. + * * Revision 1.3 1999/12/10 23:18:38 mdw * Change interface for suggested destinations. * @@ -89,7 +92,7 @@ int dsa_vrfy(const dsa_param *dp, mp *y, mp *m, mp *r, mp *s) mp_drop(z); } - /* --- Compute %$wr%$ and %$wm$% --- */ + /* --- Compute %$wr$% and %$wm$% --- */ f[0].exp = mpmont_mul(&qm, MP_NEW, w, m); f[1].exp = mpmont_mul(&qm, MP_NEW, w, r); diff --git a/dsarand.h b/dsarand.h index 553efb1..131d31b 100644 --- a/dsarand.h +++ b/dsarand.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: dsarand.h,v 1.1 1999/12/22 15:53:12 mdw Exp $ + * $Id: dsarand.h,v 1.2 2000/06/17 10:54:14 mdw Exp $ * * Random number generator for DSA * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: dsarand.h,v $ + * Revision 1.2 2000/06/17 10:54:14 mdw + * Typesetting fixes. + * * Revision 1.1 1999/12/22 15:53:12 mdw * Random number generator for finding DSA parameters. * @@ -113,7 +116,7 @@ extern void dsarand_destroy(dsarand */*d*/); * * Let %$p$% be the numerical value of the input buffer, and let * %$b$% be the number of bytes required. Let - * %$z = \lceil b / 20 \rceil%$ be the number of SHA outputs + * %$z = \lceil b / 20 \rceil$% be the number of SHA outputs * required. Then the output of pass %$n$% is * * %$P_n = \sum_{0 \le i < z} 2^{160i} SHA(p + nz + i)$% diff --git a/fibrand.h b/fibrand.h index 27c39f3..10b683f 100644 --- a/fibrand.h +++ b/fibrand.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: fibrand.h,v 1.1 1999/12/10 23:15:27 mdw Exp $ + * $Id: fibrand.h,v 1.2 2000/06/17 10:54:59 mdw Exp $ * * Fibonacci generator * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: fibrand.h,v $ + * Revision 1.2 2000/06/17 10:54:59 mdw + * Typesetting fixes. + * * Revision 1.1 1999/12/10 23:15:27 mdw * Noncryptographic random number generator. * @@ -81,7 +84,7 @@ typedef struct fibrand { * Returns: Next output from generator. * * Use: Steps the generator. Returns - * %$x_{i - 24} + x_{i - 55} \bmod 2^{32}%$. + * %$x_{i - 24} + x_{i - 55} \bmod 2^{32}$%. */ extern uint32 fibrand_step(fibrand */*f*/);