]> git.proxmox.com Git - grub2.git/blob - grub-core/lib/libgcrypt-grub/cipher/rmd.h
Import grub2_2.02+dfsg1.orig.tar.xz
[grub2.git] / grub-core / lib / libgcrypt-grub / cipher / rmd.h
1 /* This file was automatically imported with
2 import_gcry.py. Please don't modify it */
3 #include <grub/dl.h>
4 /* rmd.h - RIPE-MD hash functions
5 * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc.
6 *
7 * This file is part of Libgcrypt.
8 *
9 * Libgcrypt is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as
11 * published by the Free Software Foundation; either version 2.1 of
12 * the License, or (at your option) any later version.
13 *
14 * Libgcrypt is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
22 */
23 #ifndef G10_RMD_H
24 #define G10_RMD_H
25
26
27 /* We need this here because random.c must have direct access. */
28 typedef struct
29 {
30 u32 h0,h1,h2,h3,h4;
31 u32 nblocks;
32 byte buf[64];
33 int count;
34 } RMD160_CONTEXT;
35
36 void _gcry_rmd160_init ( void *context );
37 void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte );
38
39 #endif /*G10_RMD_H*/