From 04c9bafa7136564e3059d493dffa84a4c9b6dfb7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 1 Jun 2010 23:37:39 +0200 Subject: Made crypt/decrypt faster. --- runtime/doc/todo.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/doc/todo.txt') diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index cad2e98621..41326a9bf1 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -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/ -- cgit v1.2.3