From 5f3ec68c383c7e09aefe37eefdd4c750d63dd7dc Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 20 Feb 2015 12:37:03 +0100 Subject: [PATCH] FIX kdf iteration count --- tomb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomb b/tomb index 02a046c..5f1a4a4 100755 --- a/tomb +++ b/tomb @@ -1140,8 +1140,8 @@ gen_key() { fi # --kdf takes one parameter: iter time (on present machine) in seconds local -i microseconds - microseconds=$(( itertime * 10000 )) - _success "Using KDF, iterations: ::1 microseconds::" $microseconds + microseconds=$(( itertime * 1000000 )) + _success "Using KDF, iteration time: ::1 microseconds::" $microseconds _message "generating salt" pbkdf2_salt=`tomb-kdb-pbkdf2-gensalt` _message "calculating iterations"