/* -*-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.
*
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);
}
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
}
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