Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/ciphers/blowfish.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@
(store-words ciphertext ciphertext-start right left)))

(defun initialize-blowfish-vectors (key p-array s-boxes)
#+lispworks
(declare (optimize (debug 0) (float 0) (space 0) (safety 0) (speed 3)))
(declare (type (simple-array (unsigned-byte 8) (*)) key))
(declare (type blowfish-p-array p-array))
(declare (type blowfish-s-boxes s-boxes))
Expand Down
3 changes: 2 additions & 1 deletion src/common.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ uint64_t r = (n << 56)
(ftype (function ((unsigned-byte 32) (unsigned-byte 32)) (unsigned-byte 32)) mod32+))

(defun mod32+ (a b)
(declare (type (unsigned-byte 32) a b))
(declare (type (unsigned-byte 32) a b)
#+lispworks(optimize (debug 0) (space 0) (safety 0) (float 0) (speed 3)))
#+(and ccl x86-64 ironclad-assembly)
(%mod32+ a b)

Expand Down