projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
General robustification.
[u/mdw/catacomb]
/
tea.h
diff --git
a/tea.h
b/tea.h
index
c227ec5
..
38a8da1
100644
(file)
--- a/
tea.h
+++ b/
tea.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: tea.h,v 1.
1 2000/07/15 13:44:31
mdw Exp $
+ * $Id: tea.h,v 1.
2 2000/07/29 09:56:47
mdw Exp $
*
* The Tiny Encryption Algorithm
*
*
* The Tiny Encryption Algorithm
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: tea.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: tea.h,v $
+ * Revision 1.2 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.1 2000/07/15 13:44:31 mdw
* New ciphers.
*
* Revision 1.1 2000/07/15 13:44:31 mdw
* New ciphers.
*
@@
-69,6
+73,7
@@
extern const octet tea_keysz[];
/*----- Data structures ---------------------------------------------------*/
typedef struct tea_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct tea_ctx {
+ unsigned r;
uint32 ka, kb, kc, kd;
} tea_ctx;
uint32 ka, kb, kc, kd;
} tea_ctx;