annotate src/proto/sha256.pro @ 5806:76863b4b48a3 v7.4.247

updated for version 7.4.247 Problem: When passing input to system() there is no way to keep NUL and NL characters separate. Solution: Optionally use a list for the system() input. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sat, 05 Apr 2014 18:55:46 +0200
parents 2b340e5c5baa
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
2b340e5c5baa updated for version 7.3.816
Bram Moolenaar <bram@vim.org>
parents: 2340
diff changeset
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 : */