poly1305

The Poly1305 message authentication code (docs.ppad.tech/poly1305).
git clone git://git.ppad.tech/poly1305.git
Log | Files | Refs | README | LICENSE

ppad-poly1305.cabal (1589B)


      1 cabal-version:      3.0
      2 name:               ppad-poly1305
      3 version:            0.4.1
      4 synopsis:           A pure Poly1305 MAC
      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 Poly1305 message authentication code, per
     15   [RFC8439](https://datatracker.ietf.org/doc/html/rfc8439).
     16 
     17 flag llvm
     18   description: Use GHC's LLVM backend.
     19   default:     False
     20   manual:      True
     21 
     22 source-repository head
     23   type:     git
     24   location: git.ppad.tech/poly1305.git
     25 
     26 library
     27   default-language: Haskell2010
     28   hs-source-dirs:   lib
     29   ghc-options:
     30       -Wall
     31   if flag(llvm)
     32     ghc-options: -fllvm -O2
     33   exposed-modules:
     34       Crypto.MAC.Poly1305
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38     , ppad-fixed >= 0.1.3 && < 0.2
     39 
     40 test-suite poly1305-tests
     41   type:                exitcode-stdio-1.0
     42   default-language:    Haskell2010
     43   hs-source-dirs:      test
     44   main-is:             Main.hs
     45 
     46   ghc-options:
     47     -rtsopts -Wall -O2
     48 
     49   build-depends:
     50       base
     51     , bytestring
     52     , ppad-base16
     53     , ppad-poly1305
     54     , primitive
     55     , tasty
     56     , tasty-hunit
     57 
     58 benchmark poly1305-bench
     59   type:                exitcode-stdio-1.0
     60   default-language:    Haskell2010
     61   hs-source-dirs:      bench
     62   main-is:             Main.hs
     63 
     64   ghc-options:
     65     -rtsopts -O2 -Wall
     66 
     67   build-depends:
     68       base
     69     , bytestring
     70     , criterion
     71     , ppad-base16
     72     , ppad-poly1305
     73