packages feed

crypto-cipher-tests 0.0.5 → 0.0.6

raw patch · 2 files changed

+5/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Crypto.Cipher.Tests: KAT_Stream :: ByteString -> ByteString -> ByteString -> KAT_Stream
+ Crypto.Cipher.Tests: data KAT_Stream
+ Crypto.Cipher.Tests: defaultStreamKATs :: [KAT_Stream]
+ Crypto.Cipher.Tests: streamCiphertext :: KAT_Stream -> ByteString
+ Crypto.Cipher.Tests: streamKey :: KAT_Stream -> ByteString
+ Crypto.Cipher.Tests: streamPlaintext :: KAT_Stream -> ByteString
+ Crypto.Cipher.Tests: testStreamCipher :: StreamCipher a => [KAT_Stream] -> a -> Test

Files

Crypto/Cipher/Tests.hs view
@@ -9,9 +9,12 @@ {-# LANGUAGE ViewPatterns #-} module Crypto.Cipher.Tests     ( testBlockCipher+    , testStreamCipher     -- * KATs     , defaultKATs+    , defaultStreamKATs     , KATs(..)+    , KAT_Stream(..)     , KAT_ECB(..)     , KAT_CBC(..)     , KAT_CTR(..)@@ -32,6 +35,7 @@     ++ testModes cipher     ) +-- | Return tests for a specific streamcipher and a list of KATs testStreamCipher :: StreamCipher a => [KAT_Stream] -> a -> Test testStreamCipher kats cipher = testGroup (cipherName cipher)     (  (if kats == defaultStreamKATs then [] else [testStreamKATs kats cipher])
crypto-cipher-tests.cabal view
@@ -1,5 +1,5 @@ Name:                crypto-cipher-tests-Version:             0.0.5+Version:             0.0.6 Synopsis:            Generic cryptography cipher tests Description:         Generic cryptography cipher tests License:             BSD3