X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/574d8527d1cc983cf96cda236113363b8f07837f..578a86d91941a0f722b87973d88e84ec2cf9a608:/twofish.c diff --git a/twofish.c b/twofish.c index 566ee1e..e70ad12 100644 --- a/twofish.c +++ b/twofish.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: twofish.c,v 1.3 2002/01/13 13:37:59 mdw Exp $ + * $Id: twofish.c,v 1.5 2004/04/08 01:36:15 mdw Exp $ * * Implementation of the Twofish cipher * @@ -27,20 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: twofish.c,v $ - * Revision 1.3 2002/01/13 13:37:59 mdw - * Add support for Twofish family keys. - * - * Revision 1.2 2000/06/22 18:58:00 mdw - * Twofish can handle keys with any byte-aligned size. - * - * Revision 1.1 2000/06/17 12:10:17 mdw - * New cipher. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -286,7 +272,7 @@ void twofish_initfk(twofish_ctx *k, const void *buf, size_t sz, void twofish_init(twofish_ctx *k, const void *buf, size_t sz) { - static twofish_fk fk = { { 0 } }; + static const twofish_fk fk = { { 0 } }; twofish_initfk(k, buf, sz, &fk); }