projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use @va_arg@ as an argument to @STORE32@!
[u/mdw/catacomb]
/
xtea.h
diff --git
a/xtea.h
b/xtea.h
index
94f8d2c
..
af6c3a0
100644
(file)
--- a/
xtea.h
+++ b/
xtea.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: xtea.h,v 1.
2 2000/07/15 13:47:14
mdw Exp $
+ * $Id: xtea.h,v 1.
3 2000/07/29 09:56:47
mdw Exp $
*
* The Extended Tiny Encryption Algorithm
*
*
* The Extended Tiny Encryption Algorithm
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: xtea.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: xtea.h,v $
+ * Revision 1.3 2000/07/29 09:56:47 mdw
+ * Allow the number of rounds to be configured. This isn't exported
+ * through the gcipher interface, but it may be useful anyway.
+ *
* Revision 1.2 2000/07/15 13:47:14 mdw
* Whoops. Fix the purpose comment.
*
* Revision 1.2 2000/07/15 13:47:14 mdw
* Whoops. Fix the purpose comment.
*
@@
-72,6
+76,7
@@
extern const octet xtea_keysz[];
/*----- Data structures ---------------------------------------------------*/
typedef struct xtea_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct xtea_ctx {
+ unsigned r;
uint32 k[4];
} xtea_ctx;
uint32 k[4];
} xtea_ctx;