diff options
Diffstat (limited to 'src/nvim/blowfish.h')
-rw-r--r-- | src/nvim/blowfish.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/blowfish.h b/src/nvim/blowfish.h new file mode 100644 index 0000000000..288187f433 --- /dev/null +++ b/src/nvim/blowfish.h @@ -0,0 +1,13 @@ +#ifndef NEOVIM_BLOWFISH_H +#define NEOVIM_BLOWFISH_H + +void bf_key_init(char_u *password, char_u *salt, int salt_len); +void bf_cfb_init(char_u *iv, int iv_len); +void bf_crypt_encode(char_u *from, size_t len, char_u *to); +void bf_crypt_decode(char_u *ptr, long len); +void bf_crypt_init_keys(char_u *passwd); +void bf_crypt_save(void); +void bf_crypt_restore(void); +int blowfish_self_test(void); + +#endif // NEOVIM_BLOWFISH_H |