Change dummy names in grand objects so that they say what sort of thing
authormdw <mdw>
Fri, 6 Apr 2001 22:05:53 +0000 (22:05 +0000)
committermdw <mdw>
Fri, 6 Apr 2001 22:05:53 +0000 (22:05 +0000)
they are.

tlsprf.c

index 4e191a8..d45eb43 100644 (file)
--- 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
  *
 /*----- 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 = {
-  "<dummy>",
+  "<tlsdx-dummy>",
   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 = {
-  "<dummy>",
+  "<tlsprf-dummy>",
   GRAND_CRYPTO, 0,
   prf_grmisc, prf_grdestroy,
   prf_grword, prf_grbyte, prf_grword, grand_range, prf_grfill