/* -*-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
*
/*----- 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.
*
/*----- Data structures ---------------------------------------------------*/
typedef struct xtea_ctx {
+ unsigned r;
uint32 k[4];
} xtea_ctx;