eccrypto 0.2.2 → 0.2.3
raw patch · 2 files changed
+8/−5 lines, 2 filesdep ~base16-bytestringdep ~integer-gmpPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base16-bytestring, integer-gmp
API changes (from Hackage documentation)
Files
- eccrypto.cabal +6/−3
- test/Tests.hs +2/−2
eccrypto.cabal view
@@ -1,5 +1,5 @@ Name: eccrypto-Version: 0.2.2+Version: 0.2.3 Synopsis: Elliptic Curve Cryptography for Haskell Description: Elliptic Curve Cryptography in Haskell, evolved for correctness and practical usability from higher-level libraries. .@@ -29,11 +29,12 @@ Library hs-source-dirs: src+ default-language: Haskell2010 Build-Depends: base >= 4 && < 5 , bytestring >= 0.10 && < 0.11 , cryptohash-sha512 >= 0.11 && < 0.12- , integer-gmp >= 1.0 && < 1.1+ , integer-gmp >= 1.0 && < 1.2 if os(windows) build-depends: crypto-api >=0.13 && < 0.14 Exposed-modules:@@ -55,10 +56,11 @@ Test-Suite eccrypto-testsuite Type: detailed-0.9 hs-source-dirs: test+ default-language: Haskell2010 test-Module: Tests Build-depends: base >= 4 && < 5- , base16-bytestring+ , base16-bytestring >= 1.0 && < 1.1 , bytestring >= 0.10 && < 0.11 , Cabal >= 1.9.2 , eccrypto@@ -68,6 +70,7 @@ benchmark eccrypto-benchmark type: exitcode-stdio-1.0 hs-source-dirs: bench+ default-language: Haskell2010 main-is: bench.hs build-depends: base >= 4 && < 5 , bytestring >= 0.10 && < 0.11
test/Tests.hs view
@@ -111,8 +111,8 @@ testEd25519 :: BS.ByteString -> Test testEd25519 line = let x = C8.split ':' line- sk = fst $ BS16.decode $ head x- m = fst $ BS16.decode $ x !! 2+ Right sk = BS16.decode $ head x+ Right m = BS16.decode $ x !! 2 instanz = TestInstance { run = let mytest :: Either String ED.VerifyResult mytest = do pubkey <- ED.publickey $ EDi.SecKeyBytes sk