gwenhywfar  4.6.0beta
cryptkeysym.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_KEY_SYM_H
15 #define GWEN_CRYPT_KEY_SYM_H
16 
17 #include "cryptkey.h"
18 
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
26  int keySize,
27  int quality);
28 
31  const uint8_t *kd, uint32_t kl);
32 
35  GWEN_DB_NODE *db);
36 
39 
41 int GWEN_Crypt_KeyDes3K_SetKeyData(GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl);
42 
45 
48 
49 
52  const uint8_t *kd,
53  uint32_t kl);
54 
55 
56 
59  int keySize,
60  int quality);
61 
64  const uint8_t *kd, uint32_t kl);
65 
68  GWEN_DB_NODE *db);
69 
72 
74 int GWEN_Crypt_KeyBlowFish_SetKeyData(GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl);
75 
78 
81 
82 
83 
86  int keySize,
87  int quality);
88 
91  const uint8_t *kd, uint32_t kl);
92 
95  GWEN_DB_NODE *db);
96 
99 
101 int GWEN_Crypt_KeyAes128_SetKeyData(GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl);
102 
105 
108 
109 
112  const uint8_t *kd,
113  uint32_t kl);
114 
115 
116 
126 
127 
130 
133 
134 
135 #ifdef __cplusplus
136 }
137 #endif
138 
139 
140 #endif
141