/* -*-c-*-
*
- * $Id: dh.h,v 1.4 2000/06/17 10:52:47 mdw Exp $
+ * $Id: dh.h,v 1.5 2000/07/01 11:20:51 mdw Exp $
*
* Diffie-Hellman and related public-key systems
*
/*----- Revision history --------------------------------------------------*
*
* $Log: dh.h,v $
+ * Revision 1.5 2000/07/01 11:20:51 mdw
+ * New functions for freeing public and private keys.
+ *
* Revision 1.4 2000/06/17 10:52:47 mdw
* Minor changes for key fetching.
*
extern const key_fetchdef dh_privfetch[];
#define DH_PRIVFETCHSZ 9
+/* --- @dh_paramfree@, @dh_pubfree@, @dh_privfree@ --- *
+ *
+ * Arguments: @dh_param *dp@, @dh_pub *dp@, @dh_priv *dp@ = pointer to
+ * key block to free
+ *
+ * Returns: ---
+ *
+ * Use: Frees a Diffie-Hellman key block.
+ */
+
+extern void dh_paramfree(dh_param */*dp*/);
+extern void dh_pubfree(dh_pub */*dp*/);
+extern void dh_privfree(dh_priv */*dp*/);
+
/*----- Functions provided ------------------------------------------------*/
/* --- @dh_gen@ --- *