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/sha256.pro | |
parent | 46f9d4960161284182b11240783f427816700ab1 (diff) | |
download | vim-git-80794b1ce64b394fe6a1355ddd7159d1c97d6f48.tar.gz |
Added salt to blowfish encryption.
Diffstat (limited to 'src/proto/sha256.pro')
-rw-r--r-- | src/proto/sha256.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/sha256.pro b/src/proto/sha256.pro index c5237f439..651a0a0af 100644 --- a/src/proto/sha256.pro +++ b/src/proto/sha256.pro @@ -2,7 +2,7 @@ void sha256_start __ARGS((context_sha256_T *ctx)); void sha256_update __ARGS((context_sha256_T *ctx, char_u *input, UINT32_T length)); void sha256_finish __ARGS((context_sha256_T *ctx, char_u digest[32])); -char_u *sha256_key __ARGS((char_u *buf)); +char_u *sha256_key __ARGS((char_u *buf, char_u *salt, int salt_len)); int sha256_self_test __ARGS((void)); -void sha2_seed __ARGS((char_u header[], int header_len)); +void sha2_seed __ARGS((char_u header[], int header_len, char_u salt[], int salt_len)); /* vim: set ft=c : */ |