X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/ea937a0ebd081c146194a848ff3ca3829265a341..d1ee65aa670b4d11b70a375f9e4c8a1e74031631:/xtea.h?ds=inline diff --git a/xtea.h b/xtea.h index e75b7c44..af6c3a0b 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.3 2000/07/29 09:56:47 mdw Exp $ * - * The Tiny Encryption Algorithm + * The Extended Tiny Encryption Algorithm * * (c) 2000 Straylight/Edgeware */ @@ -30,6 +30,13 @@ /*----- 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. + * * Revision 1.1 2000/07/15 13:44:31 mdw * New ciphers. * @@ -69,6 +76,7 @@ extern const octet xtea_keysz[]; /*----- Data structures ---------------------------------------------------*/ typedef struct xtea_ctx { + unsigned r; uint32 k[4]; } xtea_ctx;