Debian Codegraph @

src/shared.h

raw
1 /* shared.h - values shared with other software
2 * Copyright (C) 2001, 2012 g10 Code GmbH
3 *
4 * This file is part of KSBA.
5 *
6 * KSBA is free software; you can redistribute it and/or modify
7 * it under the terms of either
8 *
9 * - the GNU Lesser General Public License as published by the Free
10 * Software Foundation; either version 3 of the License, or (at
11 * your option) any later version.
12 *
13 * or
14 *
15 * - the GNU General Public License as published by the Free
16 * Software Foundation; either version 2 of the License, or (at
17 * your option) any later version.
18 *
19 * or both in parallel, as here.
20 *
21 * KSBA is distributed in the hope that it will be useful, but WITHOUT
22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
24 * License for more details.
25 *
26 * You should have received a copies of the GNU General Public License
27 * and the GNU Lesser General Public License along with this program;
28 * if not, see <http://www.gnu.org/licenses/>.
29 */
30
31 #ifndef SHARED_H
32 #define SHARED_H
33
34 #ifdef GCRYPT_VERSION
35 /* It is pretty useless to use this file if we would link this library
36 to Libgcrypt anyway */
37 #error please make shure that gcrypt.h is not included
38 #endif
39
40 enum gcry_md_algos {
41 GCRY_MD_NONE = 0,
42 GCRY_MD_MD5 = 1,
43 GCRY_MD_SHA1 = 2,
44 GCRY_MD_RMD160 = 3,
45 GCRY_MD_TIGER = 6,
46 GCRY_MD_SHA256 = 8,
47 GCRY_MD_SHA384 = 9,
48 GCRY_MD_SHA512 = 10,
49 GCRY_MD_SHA224 = 11
50 };
51
52
53
54 #endif /*SHARED_H*/