blob: 2d1d0ba1a0029fca3d6a75dfd8f3189c733ca71d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef NVIM_BLOWFISH_H
#define NVIM_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 // NVIM_BLOWFISH_H
|