ppad-chacha.cabal (1543B)
1 cabal-version: 3.0 2 name: ppad-chacha 3 version: 0.2.1 4 synopsis: A pure ChaCha20 stream cipher 5 license: MIT 6 license-file: LICENSE 7 author: Jared Tobin 8 maintainer: jared@ppad.tech 9 category: Cryptography 10 build-type: Simple 11 tested-with: GHC == 9.10.3 12 extra-doc-files: CHANGELOG 13 description: 14 A pure ChaCha20 stream cipher and block function. 15 16 flag llvm 17 description: Use GHC's LLVM backend. 18 default: False 19 manual: True 20 21 source-repository head 22 type: git 23 location: git.ppad.tech/chacha.git 24 25 library 26 default-language: Haskell2010 27 hs-source-dirs: lib 28 ghc-options: 29 -Wall 30 if flag(llvm) 31 ghc-options: -fllvm -O2 32 exposed-modules: 33 Crypto.Cipher.ChaCha20 34 build-depends: 35 base >= 4.9 && < 5 36 , bytestring >= 0.9 && < 0.13 37 , primitive >= 0.8 && < 0.10 38 39 test-suite chacha-tests 40 type: exitcode-stdio-1.0 41 default-language: Haskell2010 42 hs-source-dirs: test 43 main-is: Main.hs 44 45 ghc-options: 46 -rtsopts -Wall -O2 47 48 build-depends: 49 base 50 , bytestring 51 , ppad-base16 52 , ppad-chacha 53 , primitive 54 , tasty 55 , tasty-hunit 56 57 benchmark chacha-bench 58 type: exitcode-stdio-1.0 59 default-language: Haskell2010 60 hs-source-dirs: bench 61 main-is: Main.hs 62 63 ghc-options: 64 -rtsopts -O2 -Wall 65 66 build-depends: 67 base 68 , bytestring 69 , criterion 70 , deepseq 71 , ppad-base16 72 , ppad-chacha 73