Mercurial > vim
view src/proto/blowfish.pro @ 5312:8b5d80861c5e v7.4.009
updated for version 7.4.009
Problem: When a file was not decrypted (yet), writing it may destroy the
contents.
Solution: Mark the file as readonly until decryption was done. (Christian
Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 25 Aug 2013 17:46:08 +0200 |
parents | c08f91142c41 |
children | 391e10afccf6 |
line wrap: on
line source
/* blowfish.c */ void bf_key_init __ARGS((char_u *password, char_u *salt, int salt_len)); void bf_ofb_init __ARGS((char_u *iv, int iv_len)); 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)); void bf_crypt_save __ARGS((void)); void bf_crypt_restore __ARGS((void)); int blowfish_self_test __ARGS((void)); /* vim: set ft=c : */