Mercurial > vim
annotate src/proto/sha256.pro @ 5643:e61a2b709f69 v7.4.168
updated for version 7.4.168
Problem: Can't compile with Ruby 2.1.0.
Solution: Add support for new GC. (Kohei Suzuki)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 05 Feb 2014 22:41:15 +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 : */ |