cc-hash.c (fhash): The FILE name may be null.
[u/mdw/catacomb] / cfb.h
diff --git a/cfb.h b/cfb.h
index 3f95dc9..e2082a1 100644 (file)
--- a/cfb.h
+++ b/cfb.h
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: cfb.h,v 1.2 1999/12/10 23:16:39 mdw Exp $
+ * $Id: cfb.h,v 1.5 2004/04/08 01:36:15 mdw Exp $
  *
  * Ciphertext feedback for block ciphers
  *
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: cfb.h,v $
- * Revision 1.2  1999/12/10 23:16:39  mdw
- * Split mode macros into interface and implementation.
- *
- * Revision 1.1  1999/09/03 08:41:11  mdw
- * Initial import.
- *
- */
-
 #ifndef CATACOMB_CFB_H
 #define CATACOMB_CFB_H
 
                                                                        \
 typedef struct pre##_cfbctx {                                          \
   pre##_ctx ctx;                       /* Underlying cipher context */ \
-  int off;                             /* Offset into @iv@ buffer */   \
+  unsigned off;                                /* Offset into @iv@ buffer */   \
   octet iv[PRE##_BLKSZ];               /* Previous ciphertext or IV */ \
 } pre##_cfbctx;                                                                \
                                                                        \
 /* --- @pre_cfbgetiv@ --- *                                            \
  *                                                                     \
  * Arguments:  @const pre_cfbctx *ctx@ = pointer to CFB context block  \
- *             @void *iv#@ = pointer to output data block              \
+ *             @void *iv@ = pointer to output data block               \
  *                                                                     \
  * Returns:    ---                                                     \
  *                                                                     \