gwenhywfar  4.7.0beta
hashalgo.h
Go to the documentation of this file.
1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs : $Id: crypttoken.h 1113 2007-01-10 09:14:16Z martin $
5  begin : Wed Mar 16 2005
6  copyright : (C) 2005 by Martin Preuss
7  email : martin@libchipcard.de
8 
9  ***************************************************************************
10  * Please see toplevel file COPYING for license details *
11  ***************************************************************************/
12 
13 
14 #ifndef GWEN_CRYPT_HASHALGO_H
15 #define GWEN_CRYPT_HASHALGO_H
16 
17 
18 #include <gwenhywfar/list2.h>
19 
20 
22 
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
29  GWEN_Crypt_HashAlgo,
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 
37 typedef enum {
38  GWEN_Crypt_HashAlgoId_Unknown=-1,
39  GWEN_Crypt_HashAlgoId_None=0,
40  GWEN_Crypt_HashAlgoId_Any,
42  GWEN_Crypt_HashAlgoId_Sha1,
44  GWEN_Crypt_HashAlgoId_Rmd160,
46  GWEN_Crypt_HashAlgoId_Md5,
47  GWEN_Crypt_HashAlgoId_Sha256,
49 
50 
51 #include <gwenhywfar/db.h>
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
60 
61 
68 
73  const uint8_t *pv,
74  uint32_t lv);
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 
81 #endif
82