From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4FSmBulEjWaEBQAAqHPOHw:P1 (envelope-from ) for ; Tue, 09 Jul 2024 14:10:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4FSmBulEjWaEBQAAqHPOHw (envelope-from ) for ; Tue, 09 Jul 2024 16:10:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=nvsDxsxQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720534246; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UwIyxG33EU9L9HeD31KhfmyuQZuwAmHu0BViTor1YqU=; b=mXtCCWYwZoaKFaP45bxXVegJSvkXP7S1DuAbRyHBg7iiCVVfqOa0KP5rCtoFpLRCKZvfnv 2GISPpwgu/9541rUCmX/966VqFvrU7GteEFmN5SfdFCxedBEPg5sg2WUOoAdsaBsEBRDeV Bz6wtYkOnkaCDTBpyuje3GfnV17CCt/bf0DW+J17cXCL7z+EwZIz3eTZWzmRC/lxLqxxKZ APU9tgqRE4Jw4PA/94BKbsC83R/R/zGWBBVoaqfaELCcx2FwpHC/zCwaCu6EsW+/3sgwxf zyGQU+k6cv0OF7MiB0CFcp+3GKKRwjTuOAoM64Fm+uHSkZgBnW0FRW/kDB33XQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=nvsDxsxQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720534246; a=rsa-sha256; cv=none; b=Py24jtFZyAl48jub1knxP9Bw6i7CJu6d+NIcFi4T4N7pCeF4eqZMqZGANTNgIxXnaWsJoy PmlzGfS2ux4vffasGwQ7Uu4K8DAXJBeOkYFHtl5+xy14Vetg8R3qlKKSx2C0OI5PILYZZX fZf0y/rvaDGi33ecQcQYbPjoecNsLxWu1nhta1OX9Cjw9dDApgYCp5tzVdzCvvg5SXDf+k e/KkHYmzpQe9KHmo3cn+iOZUC7atERu+DjBasJvnXXDIm7DELEJ9aNq70rPiziZAqW9XuG LV7bbHr2IAnG9qdJp/+8H+3nueg5/zNN19RitE515EDeU6xX19pRl4NFDNgSuQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8BFB851132 for ; Tue, 9 Jul 2024 16:10:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRBXb-0001Jw-CH; Tue, 09 Jul 2024 10:09:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRBXZ-0001Hi-Bc for guix-patches@gnu.org; Tue, 09 Jul 2024 10:09:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRBXZ-0006tV-3M for guix-patches@gnu.org; Tue, 09 Jul 2024 10:09:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRBXe-0001Ad-GM for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v2 01/25] gnu: Add ghc-crypton. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.17205341543957 (code B ref 44518); Tue, 09 Jul 2024 14:10:02 +0000 Received: (at 44518) by debbugs.gnu.org; 9 Jul 2024 14:09:14 +0000 Received: from localhost ([127.0.0.1]:53649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBWr-00011i-9f for submit@debbugs.gnu.org; Tue, 09 Jul 2024 10:09:13 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBWn-00010v-Tk; Tue, 09 Jul 2024 10:09:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UwIyxG33EU9L9HeD31KhfmyuQZuwAmHu0BViTor1YqU=; b=nvsDxsxQZUocpO9Ew8/irRSJE2dnRKBNmHzWb371oBkGo83gtmyFXb7p 6nPQ9tZHdex1Hlc07Yv/bSnp8UVrT50TkHl0ML3HLDQziH5FKOgo4mumo radbayCW7Oe2znAn+GDZR2hyAc8H87/0fZ4sS+oz8VxZ2l8+GXMf9B0r4 o=; X-IronPort-AV: E=Sophos;i="6.09,195,1716242400"; d="scan'208";a="91739195" Received: from lfbn-bay-1-62-70.w83-193.abo.wanadoo.fr (HELO guix-A102.home) ([83.193.153.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 16:08:32 +0200 From: Romain GARBAGE Date: Tue, 9 Jul 2024 15:53:45 +0200 Message-ID: <20240709140812.6183-2-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr> References: <20240709140812.6183-1-romain.garbage@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8BFB851132 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.80 X-Spam-Score: -3.80 X-TUID: j8T7LO/ZPdgu * gnu/packages/haskell-crypto.scm (ghc-crypton): New variable. Change-Id: I91902a8dbc0df2d19729933e6cd096810fdc1059 --- 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 83ba8bc10b..12ffd10743 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -612,6 +612,46 @@ (define-public ghc-crypto-random abstraction for CPRNGs.") (license license:bsd-3))) +(define-public ghc-crypton + (package + (name "ghc-crypton") + (version "0.34") + (source + (origin + (method url-fetch) + (uri (hackage-uri "crypton" version)) + (sha256 + (base32 "1mhypjhzn95in853bp7ary0a2xc6lsji6j8hrrgn2mfa4ilq8i24")))) + (build-system haskell-build-system) + (properties '((upstream-name . "crypton"))) + (inputs (list ghc-memory ghc-basement)) + (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-tasty-hunit + ghc-tasty-kat)) + (home-page "https://github.com/kazu-yamamoto/crypton") + (synopsis "Cryptography Primitives sink") + (description + "This package provides a repository of cryptographic primitives. +@itemize @bullet + +@item Symmetric ciphers: AES, DES, 3DES, CAST5, Blowfish, Twofish, Camellia, RC4, +Salsa, XSalsa, ChaCha. + +@item Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd, Tiger, +Whirlpool, Blake2. + +@item MAC: HMAC, KMAC, Poly1305 + +@item Asymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Curve448, +Ed25519, Ed448 + +@item Key Derivation Function: PBKDF2, Scrypt, HKDF, Argon2, BCrypt, BCryptPBKDF + +@item Cryptographic Random generation: System Entropy, Deterministic Random Generator + +@item Data related: Anti-Forensic Information Splitter (AFIS) +@end itemize") + (license license:bsd-3))) + (define-public ghc-cprng-aes (package (name "ghc-cprng-aes") -- 2.45.1