Mercurial > vim
annotate src/proto/sha256.pro @ 2238:3d0a7beb0d75 vim73
Made reading/writing undo info a bit more robust.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 30 May 2010 20:40:11 +0200 |
parents | cccb71c2c5c1 |
children | b7cb69ab616d |
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])); |
2182
3cb515c62e9c
Minor updates to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
5 char_u *sha256_key __ARGS((char_u *buf)); |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 int sha256_self_test __ARGS((void)); |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 void sha2_seed __ARGS((char_u header[], int header_len)); |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
8 /* vim: set ft=c : */ |