packages feed

automitive-cse-0.0.1.0: automitive-cse.cabal

name:                automitive-cse
version:             0.0.1.0
synopsis:            Automotive CSE emulation
description:         This package includes Cryptography Security Engine (CSE)
                     codec emulation for automotive things.
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2016 Kei Hibino
category:            Codec
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  exposed-modules:     Codec.Automotive.CSE

  other-modules:
                       Backport.Crypto.MAC.CMAC
                       Backport.Crypto.ConstructHash.MiyaguchiPreneel

  other-extensions:    GeneralizedNewtypeDeriving
  build-depends:         base >=4.6 && <5
                       , bytestring
                       , cereal
                       , memory
                       , cryptonite
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite exTrue
  build-depends:         base <5
                       , quickcheck-simple
                       , automitive-cse

                       , bytestring
                       , cryptonite

  type:                exitcode-stdio-1.0
  main-is:             expectTrue.hs
  -- other-modules:
  hs-source-dirs:      test
  default-language:     Haskell2010
  ghc-options:         -Wall

source-repository head
  type:       git
  location:   https://github.com/khibino/haskell-automotive-cse

source-repository head
  type:       mercurial
  location:   https://bitbucket.org/khibino/haskell-automotive-cse