/* -*-c-*-
*
- * $Id: hmac.h,v 1.5 2001/04/03 19:35:45 mdw Exp $
+ * $Id: hmac.h,v 1.6 2001/04/19 18:24:45 mdw Exp $
*
* Generic code for HMAC and NMAC
*
/*----- Revision history --------------------------------------------------*
*
* $Log: hmac.h,v $
+ * Revision 1.6 2001/04/19 18:24:45 mdw
+ * Provide correct key sizes for NMAC, HMAC and SSLMAC.
+ *
* Revision 1.5 2001/04/03 19:35:45 mdw
* Support the SSL HMAC variant (untested).
*
\
/* --- Other useful constants --- */ \
\
-extern const octet pre##_mackeysz[]; \
+extern const octet pre##_hmackeysz[]; \
+extern const octet pre##_nmackeysz[]; \
+extern const octet pre##_sslmackeysz[]; \
\
/* --- @pre_nmacinit@ --- * \
* \
\
/* --- Generic MAC interface --- */ \
\
-extern const gcmac pre##_hmac;
+extern const gcmac pre##_hmac; \
+extern const gcmac pre##_nmac; \
+extern const gcmac pre##_sslmac;
/*----- That's all, folks -------------------------------------------------*/