diff options
Diffstat (limited to 'src/encryption.h')
| -rw-r--r-- | src/encryption.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h index eccb6b9..aa88048 100644 --- a/src/encryption.h +++ b/src/encryption.h | |||
| @@ -6,4 +6,7 @@ | |||
| 6 | /* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */ | 6 | /* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */ |
| 7 | size_t passenc(int fd, const char *passphrase); | 7 | size_t passenc(int fd, const char *passphrase); |
| 8 | 8 | ||
| 9 | /* Encrypt file descriptor FD one block at a time using PASSPHRASE as the encryption key */ | ||
| 10 | size_t passencblock(int fd, const char *passphrase); | ||
| 11 | |||
| 9 | #endif \ No newline at end of file | 12 | #endif \ No newline at end of file |
