Ignore stack.yaml.lock
This commit is contained in:
parent
a0ad444ec1
commit
00221a494c
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ benchs/Hash
|
|||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
.cabal-sandbox/
|
.cabal-sandbox/
|
||||||
cabal.sandbox.config
|
cabal.sandbox.config
|
||||||
|
stack.yaml.lock
|
||||||
|
|||||||
@ -125,7 +125,7 @@ benchBlockCipher =
|
|||||||
[ bgroup "ECB" benchECB
|
[ bgroup "ECB" benchECB
|
||||||
, bgroup "CBC" benchCBC
|
, bgroup "CBC" benchCBC
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
benchECB =
|
benchECB =
|
||||||
[ bench "DES-input=1024" $ nf (run (undefined :: DES) cipherInit key8) input1024
|
[ bench "DES-input=1024" $ nf (run (undefined :: DES) cipherInit key8) input1024
|
||||||
, bench "Blowfish128-input=1024" $ nf (run (undefined :: Blowfish128) cipherInit key16) input1024
|
, bench "Blowfish128-input=1024" $ nf (run (undefined :: Blowfish128) cipherInit key16) input1024
|
||||||
@ -215,8 +215,8 @@ benchECC =
|
|||||||
|
|
||||||
benchP256 =
|
benchP256 =
|
||||||
[ bench "pointAddTwoMuls-P256" $ nf run_p (n1, p1, n2, p2)
|
[ bench "pointAddTwoMuls-P256" $ nf run_p (n1, p1, n2, p2)
|
||||||
, bench "pointAdd-P256" $ nf run_q (p1, p2)
|
, bench "pointAdd-P256" $ nf run_q (p1, p2)
|
||||||
, bench "pointMul-P256" $ nf run_t (n1, p1)
|
, 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)
|
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
|
run_q (p, q) = P256.pointAdd p q
|
||||||
|
|||||||
@ -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
|
|
||||||
Loading…
Reference in New Issue
Block a user