From b2e9e6236dae1b27de09748b7da9448cf3f55ca7 Mon Sep 17 00:00:00 2001 From: Piotr Szarmanski Date: Fri, 4 Aug 2023 22:58:29 +0200 Subject: {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. --- src/backend.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend.lisp') 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))) -- cgit v1.2.3