... | ... |
@@ -174,6 +174,17 @@ typedef enum { |
174 | 174 |
struct cl_engine; |
175 | 175 |
struct cl_settings; |
176 | 176 |
|
177 |
+/** |
|
178 |
+ * Initialize the crypto system. |
|
179 |
+ * @return Always returns 0 |
|
180 |
+ */ |
|
181 |
+int cl_initialize_crypto(void); |
|
182 |
+ |
|
183 |
+/** |
|
184 |
+ * Cleanup the crypto system prior to program exit |
|
185 |
+ */ |
|
186 |
+void cl_cleanup_crypto(void); |
|
187 |
+ |
|
177 | 188 |
#define CL_INIT_DEFAULT 0x0 |
178 | 189 |
extern int cl_init(unsigned int initoptions); |
179 | 190 |
|
... | ... |
@@ -43,16 +43,6 @@ |
43 | 43 |
#define SHA1_HASH_SIZE 20 |
44 | 44 |
#define SHA256_HASH_SIZE 32 |
45 | 45 |
|
46 |
-/** |
|
47 |
- * Initialize the crypto system. |
|
48 |
- * @return Always returns 0 |
|
49 |
- */ |
|
50 |
-int cl_initialize_crypto(void); |
|
51 |
- |
|
52 |
-/** Clean up the crypto system prior to program exit. |
|
53 |
- */ |
|
54 |
-void cl_cleanup_crypto(void); |
|
55 |
- |
|
56 | 46 |
/** Generate a hash of data. |
57 | 47 |
@param[in] alg The hashing algorithm to use |
58 | 48 |
@param[in] buf The data to be hashed |