projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2af20fa
)
Change buffer offset to be unsigned.
author
mdw
<mdw>
Sat, 17 Jun 2000 11:48:24 +0000
(11:48 +0000)
committer
mdw
<mdw>
Sat, 17 Jun 2000 11:48:24 +0000
(11:48 +0000)
ofb.h
patch
|
blob
|
blame
|
history
diff --git
a/ofb.h
b/ofb.h
index
189b65d
..
bcf5c79
100644
(file)
--- a/
ofb.h
+++ b/
ofb.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: ofb.h,v 1.
2 1999/12/10 23:16:40
mdw Exp $
+ * $Id: ofb.h,v 1.
3 2000/06/17 11:48:24
mdw Exp $
*
* Output feedback for block ciphers
*
*
* Output feedback for block ciphers
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: ofb.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: ofb.h,v $
+ * 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.
*
* Revision 1.2 1999/12/10 23:16:40 mdw
* Split mode macros into interface and implementation.
*
@@
-74,7
+77,7
@@
\
typedef struct pre##_ofbctx { \
pre##_ctx ctx; /* Underlying cipher context */ \
\
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; \
\
octet iv[PRE##_BLKSZ]; /* Output buffer and IV */ \
} pre##_ofbctx; \
\