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