X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/c3caa2face1cda7002eb58245ad75865bf437455..7fb0660b6d7237a7ec859459b2e511eebc0dcdb5:/sha256.h diff --git a/sha256.h b/sha256.h index ca6e18c..7b21dd2 100644 --- a/sha256.h +++ b/sha256.h @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: sha256.h,v 1.3 2004/03/21 22:43:34 mdw Exp $ + * $Id$ * * Implementation of the SHA-256 hash function * * (c) 2000 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,34 +15,19 @@ * 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: sha256.h,v $ - * Revision 1.3 2004/03/21 22:43:34 mdw - * New hash variant SHA224. - * - * Revision 1.2 2000/10/15 19:09:20 mdw - * Support HMAC mode for hash functions which need to store more state than - * the hash output size. - * - * Revision 1.1 2000/10/15 17:48:15 mdw - * New SHA variants with longer outputs. - * - */ - -/*----- Notes on the SHA-256 hash function ----------------------------------* +/*----- Notes on the SHA-256 hash function --------------------------------* * * SHA-1 (Secure Hash Algorithm) was designed by the NSA, for use with the * Digital Signature Algorithm. This is an evolution with a larger output @@ -52,6 +37,7 @@ #ifndef CATACOMB_SHA256_H #define CATACOMB_SHA256_H +#define CATACOMB_SHA224_H #ifdef __cplusplus extern "C" {