diff --git a/.gitignore b/.gitignore index a213015..f51721e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ benchs/Hash *.sublime-workspace .cabal-sandbox/ cabal.sandbox.config +stack.yaml.lock diff --git a/benchs/Bench.hs b/benchs/Bench.hs index 10c91d5..b6d034e 100644 --- a/benchs/Bench.hs +++ b/benchs/Bench.hs @@ -125,7 +125,7 @@ benchBlockCipher = [ bgroup "ECB" benchECB , bgroup "CBC" benchCBC ] - where + where benchECB = [ bench "DES-input=1024" $ nf (run (undefined :: DES) cipherInit key8) input1024 , bench "Blowfish128-input=1024" $ nf (run (undefined :: Blowfish128) cipherInit key16) input1024 @@ -215,8 +215,8 @@ benchECC = benchP256 = [ bench "pointAddTwoMuls-P256" $ nf run_p (n1, p1, n2, p2) - , bench "pointAdd-P256" $ nf run_q (p1, p2) - , bench "pointMul-P256" $ nf run_t (n1, p1) + , bench "pointAdd-P256" $ nf run_q (p1, p2) + , bench "pointMul-P256" $ nf run_t (n1, p1) ] where run_p (n, p, k, q) = P256.pointAdd (P256.pointMul n p) (P256.pointMul k q) run_q (p, q) = P256.pointAdd p q diff --git a/stack.yaml.lock b/stack.yaml.lock deleted file mode 100644 index fcc2f5f..0000000 --- a/stack.yaml.lock +++ /dev/null @@ -1,12 +0,0 @@ -# This file was autogenerated by Stack. -# You should not edit this file by hand. -# For more information, please see the documentation at: -# https://docs.haskellstack.org/en/stable/lock_files - -packages: [] -snapshots: -- completed: - size: 498180 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/13/21.yaml - sha256: eff2de19a6d4691ccbf6edc1fba858f1918683047dce0f09adede874bbd2a8f3 - original: lts-13.21