/* -*-c-*-
*
- * $Id: cfb.h,v 1.2 1999/12/10 23:16:39 mdw Exp $
+ * $Id: cfb.h,v 1.4 2001/06/17 00:10:51 mdw Exp $
*
* Ciphertext feedback for block ciphers
*
/*----- Revision history --------------------------------------------------*
*
* $Log: cfb.h,v $
+ * Revision 1.4 2001/06/17 00:10:51 mdw
+ * Typesetting fixes
+ *
+ * Revision 1.3 2000/06/17 10:50:55 mdw
+ * Change buffer offset to be unsigned.
+ *
* Revision 1.2 1999/12/10 23:16:39 mdw
* Split mode macros into interface and implementation.
*
\
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: --- \
* \