1
0
forked from aniani/vim

Made crypt/decrypt faster.

This commit is contained in:
Bram Moolenaar
2010-06-01 23:37:39 +02:00
parent 8cd213c09a
commit 04c9bafa71
6 changed files with 89 additions and 69 deletions

View File

@@ -1085,7 +1085,6 @@ Vim 7.3:
- using NSIS 2.46: install on Windows 7 works, but no "Edit with Vim" menu.
Use register_shell_extension()? (George Reilly, 2010 May 26)
Ron's version: http://dev.ronware.org/p/vim/finfo?name=gvim.nsi
- Undo code: use union to store long in place of pointers?
- Also crypt the swap file, each block separately. Change mf_write() and
mf_read(). How to get b_p_key to these functions?
Generate seed for each block, store in pointer block. Block 1 is not
@@ -1095,8 +1094,11 @@ Vim 7.3:
Verify recovery works.
- Update for crypt code to use salt. (Mohsin May 30)
Make the strengthen_key value configurable and store it in the header.
- Do profiling on sha256 code to find obvious bottlenecks.
- Do profiling on crypt code to find obvious bottlenecks.
bf_ranbyte() and bf_ofb_init() are called for each byte, can they be done
inline somehow?
-> Add a function in blowfish.c to process an array, called once from
crypt_decode() and crypt_encode().
Patches to include:
- Include conceal patch?
http://vince.negri.googlepages.com/