diff options
author | Piotr Szarmanski | 2023-08-04 22:58:29 +0200 |
---|---|---|
committer | Piotr Szarmanski | 2023-08-04 22:58:29 +0200 |
commit | b2e9e6236dae1b27de09748b7da9448cf3f55ca7 (patch) | |
tree | d7ddda8e042eb09b303247081ea55df55dbb02ef /src/backend.lisp | |
parent | 1aa5acda7cbbfa00a6b4cde56c6963fa684f391b (diff) |
{En,de}coder refactoring
Removes the pointless reference-pair object in favor of passing reference-key
pairs as a 64-byte octet-vector.
Also removes :hash-output.
Diffstat (limited to 'src/backend.lisp')
-rw-r--r-- | src/backend.lisp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend.lisp b/src/backend.lisp index 5568132..8d1405b 100644 --- a/src/backend.lisp +++ b/src/backend.lisp @@ -41,7 +41,7 @@ protect the data from attacks against convergent encryption.")) (with-slots (fetch-function) backend (eris-decode read-capability fetch-function))) -(defmethod store-data (input (backend encoding-backend) &key (secret null-secret) (hash-output nil) &allow-other-keys) +(defmethod store-data (input (backend encoding-backend) &key (secret null-secret) &allow-other-keys) (declare (type octet-vector secret)) (with-slots (output-function) backend (eris-encode input ;; According to ERIS spec recommendation. @@ -52,5 +52,4 @@ protect the data from attacks against convergent encryption.")) 32kib 1kib) output-function - :hash-output hash-output :secret secret))) |