projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support new key size interface.
[u/mdw/catacomb]
/
cfb.h
diff --git
a/cfb.h
b/cfb.h
index
3f95dc9
..
9ef53e1
100644
(file)
--- a/
cfb.h
+++ b/
cfb.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: cfb.h,v 1.
2 1999/12/10 23:16:39
mdw Exp $
+ * $Id: cfb.h,v 1.
3 2000/06/17 10:50:55
mdw Exp $
*
* Ciphertext feedback for block ciphers
*
*
* Ciphertext feedback for block ciphers
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: cfb.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: cfb.h,v $
+ * 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.
*
* Revision 1.2 1999/12/10 23:16:39 mdw
* Split mode macros into interface and implementation.
*
@@
-70,7
+73,7
@@
\
typedef struct pre##_cfbctx { \
pre##_ctx ctx; /* Underlying cipher context */ \
\
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; \
\
octet iv[PRE##_BLKSZ]; /* Previous ciphertext or IV */ \
} pre##_cfbctx; \
\