blowfish fixes

This commit is contained in:
erana 2012-01-20 17:28:54 +09:00
parent 9cdfda6021
commit c53f89828b
1 changed files with 2 additions and 2 deletions

View File

@ -1215,8 +1215,8 @@
(let ((data (make-table))) (let ((data (make-table)))
(do ((i 0 (+ i 1))) (do ((i 0 (+ i 1)))
((=> i (+ blowfish-rounds 2))0) ((>= i (+ blowfish-rounds 2))0)
(set! (vector-ref (blowfish-p bc) i) (table-ref blowfish-ps i))) (vector-set! (blowfish-p bc) i (table-ref blowfish-ps i)))
(do ((i 0 (+ i 1))) (do ((i 0 (+ i 1)))
((>= i 256)0) ((>= i 256)0)