mirror of
https://github.com/pmai/md5.git
synced 2025-12-21 14:34:29 +01:00
Regularize use of keywords in #+/#- complex conditionals.
This commit is contained in:
6
md5.lisp
6
md5.lisp
@ -192,7 +192,7 @@ where a is the intended low-order byte and d the high-order byte."
|
|||||||
(sb-rotate-byte:rotate-byte s (byte 32 0) a)
|
(sb-rotate-byte:rotate-byte s (byte 32 0) a)
|
||||||
#+lw-int32
|
#+lw-int32
|
||||||
(sys:int32-logior (sys:int32<< a s) (int32>>logical a (- 32 s)))
|
(sys:int32-logior (sys:int32<< a s) (int32>>logical a (- 32 s)))
|
||||||
#-(or cmu sbcl lw-int32)
|
#-(or :cmu :sbcl :lw-int32)
|
||||||
(logior (ldb (byte 32 0) (ash a s)) (ash a (- s 32))))
|
(logior (ldb (byte 32 0) (ash a s)) (ash a (- s 32))))
|
||||||
|
|
||||||
;;; Section 3.4: Table T
|
;;; Section 3.4: Table T
|
||||||
@ -457,7 +457,7 @@ starting at buffer-offset."
|
|||||||
(* count vm:byte-bits))
|
(* count vm:byte-bits))
|
||||||
#+sbcl
|
#+sbcl
|
||||||
(sb-kernel:ub8-bash-copy from from-offset buffer buffer-offset count)
|
(sb-kernel:ub8-bash-copy from from-offset buffer buffer-offset count)
|
||||||
#-(or cmu sbcl)
|
#-(or :cmu :sbcl)
|
||||||
(etypecase from
|
(etypecase from
|
||||||
(simple-string
|
(simple-string
|
||||||
(loop for buffer-index of-type (integer 0 64) from buffer-offset
|
(loop for buffer-index of-type (integer 0 64) from buffer-offset
|
||||||
@ -620,7 +620,7 @@ simple-arrays with such element types."
|
|||||||
(declare (ignore real-end))
|
(declare (ignore real-end))
|
||||||
(update-md5-state state data :start real-start
|
(update-md5-state state data :start real-start
|
||||||
:end (+ real-start (- end start)))))
|
:end (+ real-start (- end start)))))
|
||||||
#-(or cmu sbcl)
|
#-(or :cmu :sbcl)
|
||||||
(let ((real-end (or end (length sequence))))
|
(let ((real-end (or end (length sequence))))
|
||||||
(declare (type fixnum real-end))
|
(declare (type fixnum real-end))
|
||||||
(update-md5-state state sequence :start start :end real-end))
|
(update-md5-state state sequence :start start :end real-end))
|
||||||
|
|||||||
Reference in New Issue
Block a user