Mercurial > vim
annotate src/proto/sha256.pro @ 6654:9ca07709d626
Added tag v7-4-651 for changeset 2c7f279d419c
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Mar 2015 17:16:06 +0100 |
parents | 2b340e5c5baa |
children | 21b0a39d13ed |
rev | line source |
---|---|
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 /* sha256.c */ |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2182
diff
changeset
|
2 void sha256_start __ARGS((context_sha256_T *ctx)); |
2215
cccb71c2c5c1
Fix uninit memory read in undo code. Fix uint32_t in proto file.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
3 void sha256_update __ARGS((context_sha256_T *ctx, char_u *input, UINT32_T length)); |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2182
diff
changeset
|
4 void sha256_finish __ARGS((context_sha256_T *ctx, char_u digest[32])); |
4126 | 5 char_u *sha256_bytes __ARGS((char_u *buf, int buf_len, char_u *salt, int salt_len)); |
2265
b7cb69ab616d
Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents:
2215
diff
changeset
|
6 char_u *sha256_key __ARGS((char_u *buf, char_u *salt, int salt_len)); |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 int sha256_self_test __ARGS((void)); |
2340
99c1eba60b2d
Make automatic prototype generation work with more interfaces.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
8 void sha2_seed __ARGS((char_u *header, int header_len, char_u *salt, int salt_len)); |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
9 /* vim: set ft=c : */ |