blowfish fixes - 21
This commit is contained in:
parent
5bee1ee5f7
commit
58ef81fef7
|
@ -1160,7 +1160,7 @@
|
||||||
|
|
||||||
(define (blowfish-R bc l r i)
|
(define (blowfish-R bc l r i)
|
||||||
(set! l (bitwise-xor l (dictionary-ref (blowfish-p bc) i)))
|
(set! l (bitwise-xor l (dictionary-ref (blowfish-p bc) i)))
|
||||||
(set! r (bitwise-xor r (dictionary-ref (blowfish-p bc) (blowfish-F l)))))
|
(set! r (bitwise-xor r (blowfish-F l))))
|
||||||
|
|
||||||
;; blowfish-rounds == 16 ->
|
;; blowfish-rounds == 16 ->
|
||||||
(define (blowfish-encrypt bc ret_xl ret_xr) ;; NOTE bc = blowfish-context
|
(define (blowfish-encrypt bc ret_xl ret_xr) ;; NOTE bc = blowfish-context
|
||||||
|
|
Loading…
Reference in New Issue