X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/79ba130cb5776f994f6a3f0f87159d8cbc5ff129..2b645fb792c62ae0d38fcde4c39e1bd0889b0e06:/ofb.h diff --git a/ofb.h b/ofb.h index 189b65d..33afdb9 100644 --- a/ofb.h +++ b/ofb.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: ofb.h,v 1.2 1999/12/10 23:16:40 mdw Exp $ + * $Id: ofb.h,v 1.4 2001/06/17 00:10:51 mdw Exp $ * * Output feedback for block ciphers * @@ -30,6 +30,12 @@ /*----- Revision history --------------------------------------------------* * * $Log: ofb.h,v $ + * Revision 1.4 2001/06/17 00:10:51 mdw + * Typesetting fixes + * + * Revision 1.3 2000/06/17 11:48:24 mdw + * Change buffer offset to be unsigned. + * * Revision 1.2 1999/12/10 23:16:40 mdw * Split mode macros into interface and implementation. * @@ -74,14 +80,14 @@ \ typedef struct pre##_ofbctx { \ pre##_ctx ctx; /* Underlying cipher context */ \ - int off; /* Current offset in buffer */ \ + unsigned off; /* Current offset in buffer */ \ octet iv[PRE##_BLKSZ]; /* Output buffer and IV */ \ } pre##_ofbctx; \ \ /* --- @pre_ofbgetiv@ --- * \ * \ * Arguments: @const pre_ofbctx *ctx@ = pointer to OFB context block \ - * @void *iv#@ = pointer to output data block \ + * @void *iv@ = pointer to output data block \ * \ * Returns: --- \ * \