diff options
author | Piotr Szarmanski | 2022-10-24 10:50:11 +0200 |
---|---|---|
committer | Piotr Szarmanski | 2022-10-24 10:50:11 +0200 |
commit | c4b44fb12108c0764d1fa4ef1c37f11a54379343 (patch) | |
tree | b5bb4d586e7973537608b73a7def903667c33f42 /src/eris.lisp | |
parent | 087b4ea280caa05e7213eb2b051782086c96efba (diff) |
Add hash-backend and update README.
Diffstat (limited to 'src/eris.lisp')
-rw-r--r-- | src/eris.lisp | 1 |
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) |