From 00221a494c68d91dbaf5148b6947e72d7f9bc65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Ch=C3=A9ron?= Date: Sun, 28 Jul 2019 08:46:18 +0200 Subject: [PATCH] Ignore stack.yaml.lock --- .gitignore | 1 + benchs/Bench.hs | 6 +++--- stack.yaml.lock | 12 ------------ 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 stack.yaml.lock 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