summaryrefslogtreecommitdiff
path: root/src/eris.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eris.lisp')
-rw-r--r--src/eris.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eris.lisp b/src/eris.lisp
index 4693104..ed4a05e 100644
--- a/src/eris.lisp
+++ b/src/eris.lisp
@@ -81,6 +81,7 @@ object, using the bytes from the OCTETS vector from at START."
(make-instance 'reference-pair :key key :reference reference)))
(defun decrypt-block (input key &optional (nonce null-secret))
+ (declare (type octet-vector input key nonce))
(ironclad:decrypt-in-place
(ironclad:make-cipher :chacha :mode :stream :key key :initialization-vector nonce)
input)