From 55fae6a7f7a59ef0b7c0d6065eb8499dd58295de Mon Sep 17 00:00:00 2001 From: mdw Date: Fri, 6 Apr 2001 22:05:53 +0000 Subject: [PATCH] Change dummy names in grand objects so that they say what sort of thing they are. --- tlsprf.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tlsprf.c b/tlsprf.c index 4e191a8..d45eb43 100644 --- a/tlsprf.c +++ b/tlsprf.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tlsprf.c,v 1.1 2001/04/04 20:10:52 mdw Exp $ + * $Id: tlsprf.c,v 1.2 2001/04/06 22:05:53 mdw Exp $ * * The TLS pseudo-random function * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: tlsprf.c,v $ + * Revision 1.2 2001/04/06 22:05:53 mdw + * Change dummy names in grand objects so that they say what sort of thing + * they are. + * * Revision 1.1 2001/04/04 20:10:52 mdw * Add support for the TLS pseudo-random function. * @@ -68,6 +72,7 @@ void tlsdx_init(tlsdx_ctx *c, gmac *m, const void *sd, size_t sdsz) c->k = m; c->hashsz = c->k->ops->c->hashsz; c->sd = sd; c->sdsz = sdsz; + c->i = c->k->ops->init(c->k); c->i->ops->hash(c->i, sd, sdsz); c->ai = c->i->ops->done(c->i, 0); @@ -255,7 +260,7 @@ static void dx_grfill(grand *r, void *p, size_t sz) } static const grand_ops dx_grops = { - "", + "", GRAND_CRYPTO, 0, dx_grmisc, dx_grdestroy, dx_grword, dx_grbyte, dx_grword, grand_range, dx_grfill @@ -460,7 +465,7 @@ static void prf_grfill(grand *r, void *p, size_t sz) } static const grand_ops prf_grops = { - "", + "", GRAND_CRYPTO, 0, prf_grmisc, prf_grdestroy, prf_grword, prf_grbyte, prf_grword, grand_range, prf_grfill -- 2.11.0