X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/35d6618005b4b4ae2e0a9907d5c22d7380d9d483..cc3ca08f22460b15423bb88632f3a12741b19003:/counter.h diff --git a/counter.h b/counter.h index 21211c7..0cfaa72 100644 --- a/counter.h +++ b/counter.h @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: counter.h,v 1.1 2000/06/17 10:51:42 mdw Exp $ + * $Id: counter.h,v 1.4 2004/04/08 01:36:15 mdw Exp $ * * Block cipher counter mode (or long cycle mode) * * (c) 2000 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,26 +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: counter.h,v $ - * Revision 1.1 2000/06/17 10:51:42 mdw - * Counter mode ciphers and pseudo-random generator. - * - */ - #ifndef CATACOMB_COUNTER_H #define CATACOMB_COUNTER_H @@ -80,7 +72,7 @@ typedef struct pre##_counterctx { \ * \ * Arguments: @const pre_counterctx *ctx@ = pointer to counter \ * context \ - * @void *iv#@ = pointer to output data block \ + * @void *iv@ = pointer to output data block \ * \ * Returns: --- \ * \ @@ -149,7 +141,7 @@ extern void pre##_countersetkey(pre##_counterctx */*ctx*/, \ \ extern void pre##_counterinit(pre##_counterctx */*ctx*/, \ const void */*key*/, size_t /*sz*/, \ - const void */*iv*/); \ + const void */*iv*/); \ \ /* --- @pre_counterencrypt@ --- * \ * \