mirror of
https://github.com/pmai/sha3.git
synced 2025-12-21 23:34:29 +01:00
Add specific declarations, switch 16bit SBCL to not use rotate-byte.
This commit is contained in:
@ -77,7 +77,7 @@
|
||||
(declare (type (integer 0 200) rate-bytes))
|
||||
(dotimes (y +keccak-state-rows+)
|
||||
(dotimes (x +keccak-state-columns+)
|
||||
(let* ((element (+ (* y +keccak-state-columns+) x))
|
||||
(let* ((element (+ (the fixnum (* y +keccak-state-columns+)) x))
|
||||
(offset (* element +keccak-1600-lane-byte-width+))
|
||||
(index (the fixnum (+ start offset))))
|
||||
(when (>= offset rate-bytes)
|
||||
|
||||
Reference in New Issue
Block a user