X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/7cee294a99758676a598cf0b3b914b0dea42d506..813390c45f438f411662b1a55678e63f11681eb4:/rijndael.h diff --git a/rijndael.h b/rijndael.h index 282cef8..b1ba75f 100644 --- a/rijndael.h +++ b/rijndael.h @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: rijndael.h,v 1.3 2001/05/07 17:31:53 mdw Exp $ + * $Id: rijndael.h,v 1.4 2004/04/08 01:36:15 mdw Exp $ * * The Rijndael block cipher * * (c) 2000 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,32 +15,18 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * Catacomb is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with Catacomb; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: rijndael.h,v $ - * Revision 1.3 2001/05/07 17:31:53 mdw - * Separate out key scheduling. - * - * Revision 1.2 2000/10/08 15:48:58 mdw - * Update comments now that AES has been chosen. - * - * Revision 1.1 2000/06/17 11:56:07 mdw - * New cipher. - * - */ - /*----- Notes on the Rijndael block cipher --------------------------------* * * Invented by Joan Daemen and Vincent Rijmen, Rijndael is a fast, elegant @@ -68,7 +54,7 @@ #define RIJNDAEL_BLKSZ 16 #define RIJNDAEL_KEYSZ 32 -#define RIJNDAEL_CLASS (N, L, 128) +#define RIJNDAEL_CLASS (N, B, 128) extern const octet rijndael_keysz[];