/* -*-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.
*
* 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
#ifndef CATACOMB_SHA256_H
#define CATACOMB_SHA256_H
+#define CATACOMB_SHA224_H
#ifdef __cplusplus
extern "C" {