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