From: mdw Date: Thu, 19 Apr 2001 18:26:13 +0000 (+0000) Subject: Use the new MAC keysize names. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/1d9ac42faa4a9e1ffd0cd0a8124600acb3696209 Use the new MAC keysize names. --- diff --git a/rspit.c b/rspit.c index 26fd888..f4083f6 100644 --- a/rspit.c +++ b/rspit.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: rspit.c,v 1.14 2001/02/21 20:03:22 mdw Exp $ + * $Id: rspit.c,v 1.15 2001/04/19 18:26:13 mdw Exp $ * * Spit out random numbers * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: rspit.c,v $ + * Revision 1.15 2001/04/19 18:26:13 mdw + * Use the new MAC keysize names. + * * Revision 1.14 2001/02/21 20:03:22 mdw * Added support for MD2 hash function. * @@ -727,7 +730,7 @@ static grand *gen_rand(unsigned i) switch (o) { case 'k': DRESET(&d); - textkey(&d, optarg, rmd160_mackeysz); + textkey(&d, optarg, rmd160_hmackeysz); r->ops->misc(r, RAND_KEY, d.buf, d.len); break; case 't': @@ -735,7 +738,7 @@ static grand *gen_rand(unsigned i) break; case 'H': DRESET(&d); - hexkey(&d, optarg, rmd160_mackeysz); + hexkey(&d, optarg, rmd160_hmackeysz); r->ops->misc(r, GRAND_SEEDBLOCK, d.buf, d.len); break; }