summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-02 20:32:23 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-02 20:32:23 +0200
commitbbd6afe03e138886f70989f31be110726ca077d8 (patch)
tree893d4513e6ff7b75a4f3bdeddc9867ada427a0a9 /src/proto
parent04c9bafa7136564e3059d493dffa84a4c9b6dfb7 (diff)
Optimize the blowfish crypt/decrypt code a bit more.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/blowfish.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/proto/blowfish.pro b/src/proto/blowfish.pro
index 6b6628742c..da3560e78f 100644
--- a/src/proto/blowfish.pro
+++ b/src/proto/blowfish.pro
@@ -1,7 +1,8 @@
/* blowfish.c */
void bf_key_init __ARGS((char_u *password));
void bf_ofb_init __ARGS((char_u *iv, int iv_len));
-void bf_ofb_update __ARGS((int c));
-int bf_ranbyte __ARGS((void));
+void bf_crypt_encode __ARGS((char_u *from, size_t len, char_u *to));
+void bf_crypt_decode __ARGS((char_u *ptr, long len));
+void bf_crypt_init_keys __ARGS((char_u *passwd));
int blowfish_self_test __ARGS((void));
/* vim: set ft=c : */