Blame cipher/rmd.h

Packit 0680ba
/* rmd.h - RIPE-MD hash functions
Packit 0680ba
 *	Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc.
Packit 0680ba
 *
Packit 0680ba
 * This file is part of Libgcrypt.
Packit 0680ba
 *
Packit 0680ba
 * Libgcrypt is free software; you can redistribute it and/or modify
Packit 0680ba
 * it under the terms of the GNU Lesser General Public License as
Packit 0680ba
 * published by the Free Software Foundation; either version 2.1 of
Packit 0680ba
 * the License, or (at your option) any later version.
Packit 0680ba
 *
Packit 0680ba
 * Libgcrypt is distributed in the hope that it will be useful,
Packit 0680ba
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 0680ba
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 0680ba
 * GNU Lesser General Public License for more details.
Packit 0680ba
 *
Packit 0680ba
 * You should have received a copy of the GNU Lesser General Public
Packit 0680ba
 * License along with this program; if not, write to the Free Software
Packit 0680ba
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Packit 0680ba
 */
Packit 0680ba
#ifndef G10_RMD_H
Packit 0680ba
#define G10_RMD_H
Packit 0680ba
Packit 0680ba
#include "hash-common.h"
Packit 0680ba
Packit 0680ba
/* We need this here because random.c must have direct access. */
Packit 0680ba
typedef struct
Packit 0680ba
{
Packit 0680ba
  gcry_md_block_ctx_t bctx;
Packit 0680ba
  u32  h0,h1,h2,h3,h4;
Packit 0680ba
} RMD160_CONTEXT;
Packit 0680ba
Packit 0680ba
void _gcry_rmd160_init ( void *context );
Packit 0680ba
void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte );
Packit 0680ba
Packit 0680ba
#endif /*G10_RMD_H*/