Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (50 sloc) 1.994 kb
1c06c59 @TomMD Improve AES KATs support. Update Cabal
authored
1 name: crypto-api
2 version: 0.0.0.1
3 license: BSD3
4 license-file: LICENSE
5 author: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Dominic Steinitz
6 maintainer: Thomas DuBuisson <thomas.dubuisson@gmail.com>
7 description: A generic interface for cryptographic operations.
8 Maintainers of hash and cipher implementations are
9 encouraged to add instances for the classes defined
10 in Data.Crypto.Classes. Crypto users are similarly
11 encoraged to use the interfaces defined in the Classes
12 module.
13 synopsis: A generic interface for cryptographic operations
14 category: Data, Cryptography
15 stability: stable
16 build-type: Simple
17 cabal-version: >= 1.6
18 tested-with: GHC == 6.12.1
435b097 @TomMD Initial attempt at a unified crypto api
authored
19 extra-source-files:
20
8729714 @TomMD Add instances, comments, finalize types
authored
21 flag test
22 description: Build a program to test the modes
23 default: False
24
25 flag alg-tests
26 description: Include Test.Crypto module for testing hash and cipher instances
27 default: True
28
1c06c59 @TomMD Improve AES KATs support. Update Cabal
authored
29 flag benchmarks
30 description: Include benchmarking tools for cryptographic operations
31 default: False
32
435b097 @TomMD Initial attempt at a unified crypto api
authored
33 Library
4246279 @TomMD Eliminate MonadRandom dep, other minor changes
authored
34 Build-Depends: base == 4.*,
35 bytestring >= 0.9 && < 0.10,
72bc8b5 @TomMD Remove cnt mode for now, add tests, export hashFunc'
authored
36 binary >= 0.4.0 && <0.6.0,
4246279 @TomMD Eliminate MonadRandom dep, other minor changes
authored
37 cereal >= 0.2 && <0.3,
38 tagged,
39 random
1c06c59 @TomMD Improve AES KATs support. Update Cabal
authored
40 ghc-options: -O2 -funfolding-use-threshold66 -funfolding-creation-threshold66 -fexcess-precision -funbox-strict-fields
435b097 @TomMD Initial attempt at a unified crypto api
authored
41 hs-source-dirs:
b010141 @TomMD Initial stab at modes. Needs fixing, optimization (B.concat, not B.appe...
authored
42 exposed-modules: Data.Crypto.Classes, Data.Crypto.Types, Data.Crypto.HMAC, Data.LargeWord, Data.Crypto.Modes
8729714 @TomMD Add instances, comments, finalize types
authored
43 if flag(alg-tests)
44 exposed-modules: Test.Crypto
4c373d2 @TomMD fleshout test infrastructure (needs organized)
authored
45 build-depends: QuickCheck >= 2.0, parsec >= 3.1, directory >= 1.0.1.0
1c06c59 @TomMD Improve AES KATs support. Update Cabal
authored
46 data-files: Test/KAT_AES/*.txt
47 if flag(benchmarks)
48 exposed-modes: Benchmark.Crypto
49 build-depends: criterion >= 0.5
50
8729714 @TomMD Add instances, comments, finalize types
authored
51
52 Executable test
53 main-is: Test/Main.hs
54 build-depends base
55 if !flag(test)
56 buildable: False
57
Something went wrong with that request. Please try again.