packages feed

Cabal revisions of cipher-aes128-0.7

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
--- Initial cipher.cabal generated by cabal init.  For further --- documentation, see http://haskell.org/cabal/users-guide/--name:                cipher-aes128-version:             0.7-synopsis:            AES and common modes using AES-NI when available.-description:         Cipher-aes128 is an implementation of AES and common modes of operation.  It borrows Hanquez's C AES code (see 'cipher-aes') but-                     is unique due to including compile-time detection of-                     NI compiler support, a slightly more functional interface-                     for GCM operations, exposure of 'Ptr' based operations via the .Internal module, and build-in crypto-api support.-                     Cipher-aes128 was originally developed as "'cipher-aes' plus trampolines", which has since been adopted into cipher-aes.-license:             BSD3-license-file:        LICENSE-author:              Thomas M. DuBuisson, Vincent Hanquez (See AUTHORS file)-maintainer:          thomas.dubuisson@gmail.com-copyright:           Thomas M. DuBuisson-category:            Cryptography-homepage:            https://github.com/TomMD/cipher-aes128-bug-reports:         https://github.com/TomMD/cipher-aes128/issues-build-type:          Custom--- build-type:          Simple--- ^^^ For HaLVM-cabal-version:       >=1.12--extra-source-files:       ./cbits/*.h, ./cbits/*.c-                        , AUTHORS-                        , cbits/LICENSE-flag test-  description: Build a program to test the AES implementation-  default: False--flag halvm-    description: The HaLVM target-    default: False--library-  default-language:    Haskell2010-  exposed-modules:     Crypto.Cipher.AES128, Crypto.Cipher.AES128.Internal-  build-depends:       base >=4.2 && < 5,-                       bytestring,-                       crypto-api >= 0.13,-                       tagged,-                       cereal-  ghc-options:         -Wall -O2--  c-sources:           ./cbits/aes.c-                     , ./cbits/aes_generic.c-                     , ./cbits/aes_x86ni.c-                     , ./cbits/cpu.c-                     , ./cbits/gf.c-  include-dirs:        cbits/-  cc-options:-  if flag(halvm)-    cc-options: -maes -mpclmul -mssse3 -DWITH_AESNI-    cpp-options: -DWITH_AESNI -maes -mpclmul -mssse3-  -- None by default cc-options:          -mssse3 -maes -mpclmul--source-repository head-  type:         git-  location:     https://github.com/TomMD/cipher-aes128--benchmark bench-  type:         exitcode-stdio-1.0-  hs-source-dirs:       . Benchmark-  main-is:              bench.hs-  build-depends:        base < 5, criterion, crypto-api, entropy, bytestring, tagged, cereal, cipher-aes-  ghc-options:          -O2-  include-dirs:        cbits-  c-sources:           ./cbits/aes.c-                     , ./cbits/aes_generic.c-                     , ./cbits/aes_x86ni.c-                     , ./cbits/cpu.c-                     , ./cbits/gf.c-  cc-options:          -mssse3 -maes -mpclmul--Executable aes128_test-  if !flag(test)-    buildable: False-  main-is: Test/test.hs-  if flag(test)-    build-depends:    base-                    , crypto-api-tests-                    , test-framework-                    , cipher-aes128-                    , bytestring, tagged, cereal, crypto-api+-- Initial cipher.cabal generated by cabal init.  For further 
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+name:                cipher-aes128
+version:             0.7
+x-revision: 1
+synopsis:            AES and common modes using AES-NI when available.
+description:         Cipher-aes128 is an implementation of AES and common modes of operation.  It borrows Hanquez's C AES code (see 'cipher-aes') but
+                     is unique due to including compile-time detection of
+                     NI compiler support, a slightly more functional interface
+                     for GCM operations, exposure of 'Ptr' based operations via the .Internal module, and build-in crypto-api support.
+                     Cipher-aes128 was originally developed as "'cipher-aes' plus trampolines", which has since been adopted into cipher-aes.
+license:             BSD3
+license-file:        LICENSE
+author:              Thomas M. DuBuisson, Vincent Hanquez (See AUTHORS file)
+maintainer:          thomas.dubuisson@gmail.com
+copyright:           Thomas M. DuBuisson
+category:            Cryptography
+homepage:            https://github.com/TomMD/cipher-aes128
+bug-reports:         https://github.com/TomMD/cipher-aes128/issues
+build-type:          Custom
+-- build-type:          Simple
+-- ^^^ For HaLVM
+cabal-version:       >=1.12
+
+extra-source-files:       ./cbits/*.h, ./cbits/*.c
+                        , AUTHORS
+                        , cbits/LICENSE
+flag test
+  description: Build a program to test the AES implementation
+  default: False
+
+flag halvm
+    description: The HaLVM target
+    default: False
+
+library
+  default-language:    Haskell2010
+  exposed-modules:     Crypto.Cipher.AES128, Crypto.Cipher.AES128.Internal
+  build-depends:       base >=4.2 && < 5,
+                       bytestring >= 0.10.2,
+                       crypto-api >= 0.13,
+                       tagged,
+                       cereal
+  ghc-options:         -Wall -O2
+
+  c-sources:           ./cbits/aes.c
+                     , ./cbits/aes_generic.c
+                     , ./cbits/aes_x86ni.c
+                     , ./cbits/cpu.c
+                     , ./cbits/gf.c
+  include-dirs:        cbits/
+  cc-options:
+  if flag(halvm)
+    cc-options: -maes -mpclmul -mssse3 -DWITH_AESNI
+    cpp-options: -DWITH_AESNI -maes -mpclmul -mssse3
+  -- None by default cc-options:          -mssse3 -maes -mpclmul
+
+source-repository head
+  type:         git
+  location:     https://github.com/TomMD/cipher-aes128
+
+benchmark bench
+  type:         exitcode-stdio-1.0
+  hs-source-dirs:       . Benchmark
+  main-is:              bench.hs
+  build-depends:        base < 5, criterion, crypto-api, entropy, bytestring, tagged, cereal, cipher-aes
+  ghc-options:          -O2
+  include-dirs:        cbits
+  c-sources:           ./cbits/aes.c
+                     , ./cbits/aes_generic.c
+                     , ./cbits/aes_x86ni.c
+                     , ./cbits/cpu.c
+                     , ./cbits/gf.c
+  cc-options:          -mssse3 -maes -mpclmul
+
+Executable aes128_test
+  if !flag(test)
+    buildable: False
+  main-is: Test/test.hs
+  if flag(test)
+    build-depends:    base
+                    , crypto-api-tests
+                    , test-framework
+                    , cipher-aes128
+                    , bytestring, tagged, cereal, crypto-api