summaryrefslogtreecommitdiff
path: root/src/encryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryption.h')
-rw-r--r--src/encryption.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h
index 15dd568..664e4e6 100644
--- a/src/encryption.h
+++ b/src/encryption.h
@@ -13,4 +13,12 @@ size_t passencblock(int fd, const char *passphrase);
13// Encrypt a nodelist 13// Encrypt a nodelist
14int encryptvxgg(const struct nodelist *list, const char *passphrase); 14int encryptvxgg(const struct nodelist *list, const char *passphrase);
15 15
16// Decrypt a nodelist
17int decryptvxgg(const struct nodelist *list, const char *passphrase);
18
19// Encrypt or decrypt a nodelist
20#define VXGG_ENCRYPT 0
21#define VXGG_DECRYPT 1
22int ENorDE_cryptvxgg(const struct nodelist *list, const char *passphrase, int flag);
23
16#endif \ No newline at end of file 24#endif \ No newline at end of file