[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes.
From: |
rsiddharth |
Subject: |
[bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes. |
Date: |
Wed, 21 Mar 2018 03:44:49 +0000 |
* gnu/packages/haskell-crypto.scm
(ghc-cipher-aes): New variable.
---
gnu/packages/haskell-crypto.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index a323a6538..b51727db5 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -551,3 +551,43 @@ for X.509 certificates.")
(description "This Haskell package provides basic typeclasses and types
for symmetric ciphers.")
(license license:bsd-3)))
+
+(define-public ghc-cipher-aes
+ (package
+ (name "ghc-cipher-aes")
+ (version "0.2.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/";
+ "cipher-aes-" version "/"
+ "cipher-aes-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05ahz6kjq0fl1w66gpiqy0vndli5yx1pbsbw9ni3viwqas4p3cfk"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-byteable" ,ghc-byteable)
+ ("ghc-securemem" ,ghc-securemem)
+ ("ghc-crypto-cipher-types" ,ghc-crypto-cipher-types)))
+ (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2"
,ghc-test-framework-quickcheck2)
+ ("ghc-crypto-cipher-tests" ,ghc-crypto-cipher-tests)))
+ (home-page "https://github.com/vincenthz/hs-cipher-aes";)
+ (synopsis "AES cipher implementation with advanced mode of operations for
+Haskell")
+ (description "This Haskell package provides AES cipher implementation.
+
+The modes of operations available are ECB (Electronic code book), CBC (Cipher
+block chaining), CTR (Counter), XTS (XEX with ciphertext stealing),
+GCM (Galois Counter Mode).
+
+The AES implementation uses AES-NI when available (on x86 and x86-64
+architecture), but fallback gracefully to a software C implementation.
+
+The software implementation uses S-Boxes, which might suffer for cache timing
+issues. However do notes that most other known software implementations,
+including very popular one (openssl, gnutls) also uses similar
+implementation. If it matters for your case, you should make sure you have
+AES-NI available, or you'll need to use a different implementation.")
+ (license license:bsd-3)))
--
2.16.2
- [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random., (continued)
- [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes.,
rsiddharth <=
- [bug#30892] [PATCH 07/37] gnu: Add ghc-skein., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 09/37] gnu: Add ghc-crypto-cipher-types., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 15/37] gnu: Add ghc-yesod-core., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 16/37] gnu: Add ghc-resource-pool., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 18/37] gnu: Add ghc-th-lift-instances., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 22/37] gnu: Add ghc-http-api-data., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 24/37] gnu: Add ghc-aeson-compat., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 20/37] gnu: Add ghc-uri-bytestring., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 27/37] gnu: Add ghc-microlens., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 31/37] gnu: ghc-math-functions: Disable tests., rsiddharth, 2018/03/20