1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
name: ed25519
version: 0.0.5.0
x-revision: 7
category: Cryptography
license: MIT
synopsis: Ed25519 cryptographic signatures
homepage: http://thoughtpolice.github.com/hs-ed25519
bug-reports: http://github.com/thoughtpolice/hs-ed25519/issues
license-file: LICENSE.txt
copyright: Copyright (c) Austin Seipp 2013-2015
author: Austin Seipp
maintainer: Austin Seipp <aseipp@pobox.com>
build-type: Simple
cabal-version: >=1.10
tested-with: GHC == 7.0.1, GHC == 7.0.2, GHC == 7.0.3, GHC == 7.0.4,
GHC == 7.2.1, GHC == 7.2.2, GHC == 7.4.1, GHC == 7.4.2,
GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3,
GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4,
GHC == 7.10.1, GHC == 7.10.2
description:
This package provides a simple, fast, self-contained copy of the
Ed25519 public-key signature system with a clean interface. It also
includes support for detached signatures, and thorough documentation
on the design and implementation, including usage guidelines.
extra-source-files:
.travis.yml
AUTHORS.txt
README.md
CONTRIBUTING.md
CHANGELOG.md
src/cbits/ref10/*.c
src/cbits/ref10/include/*.h
source-repository head
type: git
location: https://github.com/thoughtpolice/hs-ed25519.git
-------------------------------------------------------------------------------
-- Flags
flag test-properties
default: True
manual: True
flag test-hlint
default: True
manual: True
flag test-doctests
default: True
manual: True
flag no-donna
default: True
manual: True
-------------------------------------------------------------------------------
-- Build pt 1: main project
library
build-depends:
ghc-prim >= 0.1 && < 0.11,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.12
exposed-modules:
Crypto.Sign.Ed25519
ghc-options: -Wall -fwarn-tabs
default-language: Haskell2010
hs-source-dirs: src
-- Choose the underlying C implementation
if flag(no-donna)
-- ref10 implementation from SUPERCOP, about 2x slower than the AMD64
-- SUPERCOP implementations, 15x faster than ronald3072 for signing.
c-sources: src/cbits/ref10/ed25519.c
include-dirs: src/cbits/ref10 src/cbits/ref10/include
else
-- TODO(aseipp): ed25519-donna import
buildable: False
-------------------------------------------------------------------------------
-- Build pt 2: Tests
test-suite properties
type: exitcode-stdio-1.0
main-is: properties.hs
ghc-options: -w
hs-source-dirs: tests
default-language: Haskell2010
if !flag(test-properties)
buildable: False
else
build-depends:
base >= 4 && < 5,
bytestring >= 0.9 && < 0.12,
QuickCheck >= 2.4 && < 2.15,
ed25519
--
-- Style/doc tests below
--
test-suite hlint
type: exitcode-stdio-1.0
main-is: hlint.hs
hs-source-dirs: tests
default-language: Haskell2010
if !flag(test-hlint)
buildable: False
else
build-depends:
base >= 4 && < 5,
hlint >= 1.7 && < 1.10
test-suite doctests
type: exitcode-stdio-1.0
main-is: doctests.hs
hs-source-dirs: tests
default-language: Haskell2010
if !flag(test-doctests)
buildable: False
else
build-depends:
base >= 4 && < 5,
filepath >= 1.0 && < 1.5,
directory >= 1.0 && < 1.4,
doctest >= 0.10
-------------------------------------------------------------------------------
-- Build pt 3: benchmarks
benchmark bench
type: exitcode-stdio-1.0
build-depends:
base >= 4 && < 5,
bytestring >= 0.9 && < 0.12,
criterion >= 0.8 && < 1.2,
deepseq >= 1.3 && < 1.5,
ed25519
default-language: Haskell2010
hs-source-dirs: benchmarks
main-is: bench.hs
|