X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/79ba130cb5776f994f6a3f0f87159d8cbc5ff129..c760149fcb65296defd1af967fbfa098bd83143a:/hmac.h diff --git a/hmac.h b/hmac.h index d64003f..7ad01f7 100644 --- a/hmac.h +++ b/hmac.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: hmac.h,v 1.2 1999/12/10 23:17:39 mdw Exp $ + * $Id: hmac.h,v 1.3 2000/06/17 11:23:57 mdw Exp $ * * Generic code for HMAC and NMAC * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: hmac.h,v $ + * Revision 1.3 2000/06/17 11:23:57 mdw + * New key size interface. + * * Revision 1.2 1999/12/10 23:17:39 mdw * Split mode macros into interface and implementation. * @@ -95,6 +98,10 @@ typedef struct pre##_macctx { \ unsigned count; /* Byte count for outer hash */ \ } pre##_macctx; \ \ +/* --- Other useful constants --- */ \ + \ +extern const octet pre##_mackeysz[]; \ + \ /* --- @pre_nmacinit@ --- * \ * \ * Arguments: @pre_macctx *key@ = pointer to a MAC key object \