crypton 0.34 → 1.0.0
raw patch · 3 files changed
+12/−6 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Crypto.KDF.PBKDF2: type PRF password = password " the password parameters" -> Bytes " the content" -> Bytes " prf(password,content)"
+ Crypto.KDF.PBKDF2: type PRF password = -- | the password parameters password -> -- | the content Bytes -> -- | prf(password,content) Bytes
- Crypto.PubKey.MaskGenFunction: type MaskGenAlgorithm seed output = seed " seed" -> Int " length to generate" -> output
+ Crypto.PubKey.MaskGenFunction: type MaskGenAlgorithm seed output = -- | seed seed -> -- | length to generate Int -> output
Files
- CHANGELOG.md +6/−0
- Crypto/Hash/Types.hs +5/−2
- crypton.cabal +1/−4
CHANGELOG.md view
@@ -1,3 +1,9 @@+## 1.0.0++* Versions follow the standard version policy.+* Removing pthread stuff.+ [#32](https://github.com/kazu-yamamoto/crypton/pull/32)+ ## 0.34 * Hashing getRandomBytes before using as Seed for ChaChaDRG
Crypto/Hash/Types.hs view
@@ -7,9 +7,10 @@ -- -- Crypto hash types definitions ---{-# LANGUAGE GeneralizedNewtypeDeriving #-}-{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DataKinds #-}+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE RoleAnnotations #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} module Crypto.Hash.Types@@ -96,6 +97,8 @@ -- 'Crypto.Hash.digestFromByteString'. newtype Digest a = Digest (Block Word8) deriving (Eq,Ord,ByteArrayAccess, Data)++type role Digest nominal instance NFData (Digest a) where rnf (Digest u) = u `deepseq` ()
crypton.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: crypton-version: 0.34+version: 1.0.0 license: BSD3 license-file: LICENSE copyright: Vincent Hanquez <vincent@snarc.org>@@ -309,9 +309,6 @@ else build-depends: base-- if os(linux)- extra-libraries: pthread if flag(old_toolchain_inliner) cc-options: -fgnu89-inline