diff options
Diffstat (limited to 'deonebook.h')
-rw-r--r-- | deonebook.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deonebook.h b/deonebook.h index 6daf22a..4f77284 100644 --- a/deonebook.h +++ b/deonebook.h @@ -2,8 +2,11 @@ #define DEONEBOOK_H #define KEY_SIZE 16 +#define IV_SIZE 16 unsigned char *genkey(int dirfd); unsigned char *readkey(const char *path); +unsigned char *getkey(const char *keystring, const char *device); +int decrypt(const unsigned char *key, const char *in, const char *out); #endif |