/* -*-c-*-
*
- * $Id: tea.h,v 1.1 2000/07/15 13:44:31 mdw Exp $
+ * $Id: tea.h,v 1.3 2004/04/08 01:36:15 mdw Exp $
*
* The Tiny Encryption Algorithm
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: tea.h,v $
- * Revision 1.1 2000/07/15 13:44:31 mdw
- * New ciphers.
- *
- */
-
/*----- Notes on the Tiny Encryption Algorithm ----------------------------*
*
* TEA is an amazingly simple 64-round Feistel network. It's tiny, fairly
/*----- Data structures ---------------------------------------------------*/
typedef struct tea_ctx {
+ unsigned r;
uint32 ka, kb, kc, kd;
} tea_ctx;