X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/ea937a0ebd081c146194a848ff3ca3829265a341..c65df27983057ec76ed0e72bb370f9a5ae7dad28:/xtea.h diff --git a/xtea.h b/xtea.h index e75b7c4..fa2bffb 100644 --- a/xtea.h +++ b/xtea.h @@ -1,8 +1,8 @@ /* -*-c-*- * - * $Id: xtea.h,v 1.1 2000/07/15 13:44:31 mdw Exp $ + * $Id: xtea.h,v 1.4 2004/04/08 01:36:15 mdw Exp $ * - * The Tiny Encryption Algorithm + * The Extended Tiny Encryption Algorithm * * (c) 2000 Straylight/Edgeware */ @@ -27,14 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: xtea.h,v $ - * 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 @@ -69,6 +61,7 @@ extern const octet xtea_keysz[]; /*----- Data structures ---------------------------------------------------*/ typedef struct xtea_ctx { + unsigned r; uint32 k[4]; } xtea_ctx;