/* -*-c-*-
*
- * $Id: xtea.h,v 1.2 2000/07/15 13:47:14 mdw Exp $
+ * $Id: xtea.h,v 1.4 2004/04/08 01:36:15 mdw Exp $
*
* The Extended Tiny Encryption Algorithm
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: xtea.h,v $
- * Revision 1.2 2000/07/15 13:47:14 mdw
- * Whoops. Fix the purpose comment.
- *
- * Revision 1.1 2000/07/15 13:44:31 mdw
- * New ciphers.
- *
- */
-
/*----- Notes on the Tiny Encryption Algorithm ----------------------------*
*
* XTEA is an amazingly simple 64-round Feistel network. It's tiny, fairly
/*----- Data structures ---------------------------------------------------*/
typedef struct xtea_ctx {
+ unsigned r;
uint32 k[4];
} xtea_ctx;