From ac7beaa2c6a5ecb769a5343ff8fd60cfa9719d17 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 29 Sep 2023 13:22:08 -0400 Subject: [PATCH] drop the old stuff --- src/Tahoe/CHK/Encrypt.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Tahoe/CHK/Encrypt.hs b/src/Tahoe/CHK/Encrypt.hs index bf46051..bb83742 100644 --- a/src/Tahoe/CHK/Encrypt.hs +++ b/src/Tahoe/CHK/Encrypt.hs @@ -32,8 +32,6 @@ encryptLazy cipher lbs = LBS.concat . (LBS.fromStrict <$>) $ zipWith (ctrCombine takeChunk "" = Nothing takeChunk xs = Just . LBS.splitAt (fromIntegral workingBlockSize) $ xs --- LBS.fromStrict (encrypt cipher (LBS.toStrict lbs)) - -- | AES128-CTR decrypt a byte string in the manner used by CHK. decrypt :: (BlockCipher cipher, ByteArray ba) => cipher -> ba -> ba decrypt = encrypt -- GitLab