Mercurial > vim
annotate src/proto/blowfish.pro @ 32299:3d4e28569a6d v9.0.1481
patch 9.0.1481: decrypting with libsodium may fail if the library changes
Commit: https://github.com/vim/vim/commit/aae583441bcdbb0bfef3b8a1d193e04ae09ca95d
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Apr 23 17:50:22 2023 +0100
patch 9.0.1481: decrypting with libsodium may fail if the library changes
Problem: Decrypting with libsodium may fail if the library changes.
Solution: Add parameters used to the encrypted file header. (Christian
Brabandt, closes #12279)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Apr 2023 19:00:05 +0200 |
parents | 7e9e53a0368f |
children |
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 /* blowfish.c */ |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
2 void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
3 void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
32299
3d4e28569a6d
patch 9.0.1481: decrypting with libsodium may fail if the library changes
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
4 int crypt_blowfish_init(cryptstate_T *state, char_u *key, crypt_arg_T *arg); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6122
diff
changeset
|
5 int blowfish_self_test(void); |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 /* vim: set ft=c : */ |