summaryrefslogtreecommitdiff
path: root/src/encryption.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-09-02 22:26:32 -0500
committer@syxhe <https://t.me/syxhe>2024-09-02 22:26:32 -0500
commit248f88a02aea778c989f9673dffe5ddf7b7f3ee3 (patch)
tree06d243097d09347fb31f5e8dd3fc3da538c1b724 /src/encryption.h
parent92b2b42b0976a2849e0fd25cbd4ceedebb9b0a5e (diff)
Make the encrypt function less shitty
Diffstat (limited to 'src/encryption.h')
-rw-r--r--src/encryption.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h
index aa88048..15800f4 100644
--- a/src/encryption.h
+++ b/src/encryption.h
@@ -9,4 +9,7 @@ size_t passenc(int fd, const char *passphrase);
9/* Encrypt file descriptor FD one block at a time using PASSPHRASE as the encryption key */ 9/* Encrypt file descriptor FD one block at a time using PASSPHRASE as the encryption key */
10size_t passencblock(int fd, const char *passphrase); 10size_t passencblock(int fd, const char *passphrase);
11 11
12// Encrypt a nodelist
13int encryptvxgg(const struct nodelist *list, const char *passphrase);
14
12#endif \ No newline at end of file 15#endif \ No newline at end of file