X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/ffd4d6a38b97c6aebbaec731c9c847b4983ae0c3..298182ad446aaced14dea7ed0e7c968946787288:/xtea.h diff --git a/xtea.h b/xtea.h index 94f8d2c..fa2bffb 100644 --- a/xtea.h +++ b/xtea.h @@ -1,6 +1,6 @@ /* -*-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 * @@ -27,17 +27,6 @@ * 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 @@ -72,6 +61,7 @@ extern const octet xtea_keysz[]; /*----- Data structures ---------------------------------------------------*/ typedef struct xtea_ctx { + unsigned r; uint32 k[4]; } xtea_ctx;