summaryrefslogtreecommitdiff
path: root/src/core/wee-secure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-secure.h')
-rw-r--r--src/core/wee-secure.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-secure.h b/src/core/wee-secure.h
index 884fad8ca..303e0c9e5 100644
--- a/src/core/wee-secure.h
+++ b/src/core/wee-secure.h
@@ -55,6 +55,9 @@ extern int secure_cipher[];
extern int secure_data_encrypted;
extern char *secure_decrypt_error[];
+extern void secure_hash_binary (const char *data, int length_data,
+ int hash_algo, char **hash, int *length_hash);
+extern char *secure_hash (const char *data, int length_data, int hash_algo);
extern int secure_encrypt_data (const char *data, int length_data,
int hash_algo, int cipher,
const char *passphrase, char **encrypted,