Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucien Grondin committed Oct 5, 2021
1 parent 265a433 commit 02ad4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pbkdf2
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ case "$PBKDF2_METHOD" in
block1[${#salt[@]}+3]=$((i >> 0 & 0xff))

u=($(step "${block1[@]}"))
printf "\rPBKFD2: bloc %d/%d, iteration %d/%d" $i $l 1 $iterations >&2
printf "\rPBKDF2: bloc %d/%d, iteration %d/%d" $i $l 1 $iterations >&2
t=(${u[@]})
for ((j=1; j<iterations; j++))
do
printf "\rPBKFD2: bloc %d/%d, iteration %d/%d" $i $l $((j+1)) $iterations >&2
printf "\rPBKDF2: bloc %d/%d, iteration %d/%d" $i $l $((j+1)) $iterations >&2
u=($(step "${u[@]}"))
for ((k=0; k<hLen; k++))
do t[k]=$((t[k]^u[k]))
Expand Down

0 comments on commit 02ad4d3

Please sign in to comment.