diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-13 05:20:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-13 05:20:42 +0200 |
commit | 80794b1ce64b394fe6a1355ddd7159d1c97d6f48 (patch) | |
tree | bdd1db9f6f3d6934e8a3862ee2116f42d99db27b /src/proto/blowfish.pro | |
parent | 46f9d4960161284182b11240783f427816700ab1 (diff) |
Added salt to blowfish encryption.
Diffstat (limited to 'src/proto/blowfish.pro')
-rw-r--r-- | src/proto/blowfish.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/blowfish.pro b/src/proto/blowfish.pro index da3560e78f..ba18176fbc 100644 --- a/src/proto/blowfish.pro +++ b/src/proto/blowfish.pro @@ -1,5 +1,5 @@ /* blowfish.c */ -void bf_key_init __ARGS((char_u *password)); +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)); |