From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IHA5O4pJnmb8gQAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 11:59:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IHA5O4pJnmb8gQAA62LTzQ (envelope-from ) for ; Mon, 22 Jul 2024 13:59:07 +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=Lq69QmgA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721649546; 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=UBf39pJP8hsp7U8u2QwJFnaG6IFJPT7G+LSOBWGUZBhd3tt7YXKbhWpYJhWvKPIEpcOVB7 VEZTtPbFsOPzHWyLXxPImDqDbc7M80lMfaITX8n6QfR9015/S51ujzQJC7gJDRm5dFTDUd 9ZcNzaFru+42yx6u7JFRw6RLuU0iKYJSeEhghON0m7u5LMckc/hQ2qYZXn0Yiq7gSVoa9q ecfY1qGTtGOTYLs9vMKq+EsuTVa9nCD64XLrheUiqActLF3Le+1QDrc9m72aj1G8VmQr96 O+tGgjJHflfoSkmcnXczPXQcOr//bAYLrBoshY1WO5QyMJGyGxu/jy4OA95N8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721649546; a=rsa-sha256; cv=none; b=AHvQg1yTmFMYNcnB9dwFD1HKNtT/f0VYj1u1z4ER4mz5+rNkoKFy26trQe2C9SOtTWLB96 6wV7nsb6/eHUogWBnMdxnQEOunfcHIRKJEOcoPKIfnkz3YK+GHi17RlBanPGeBAQf+q+Y9 o9jJiJTXxMoeIehWxarjKWna2Slb7HIqdWkmdzY6ksVQpy77nWnroyP7R1Q/HiHd3tWWrs VRzCd6afOH7DZi12X4BYOKulsBWn79GwngAcwWnMvZrueeT5xa8T8MNbwvtqmFzh8hwNE9 vOaOmkW3Y1JGU8Jwzd08gnxs4m2Viy1oJnWj2ULoujPMb1yp3QBwIJZ4ScNV5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Lq69QmgA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" 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 D4AFC67420 for ; Mon, 22 Jul 2024 13:59:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrFz-0006wt-7U; Mon, 22 Jul 2024 07:31:07 -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 1sVrFw-0006v5-L4 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:04 -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 1sVrFv-0007OA-QK for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrFy-0006rR-M5 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71938] [PATCH v3 01/25] gnu: Add ghc-crypton. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:31:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 71938-submit@debbugs.gnu.org id=B71938.172164783222209 (code B ref 71938); Mon, 22 Jul 2024 11:31:06 +0000 Received: (at 71938) by debbugs.gnu.org; 22 Jul 2024 11:30:32 +0000 Received: from localhost ([127.0.0.1]:56932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFP-0005lJ-Qi for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:30:32 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFM-0005En-UM; Mon, 22 Jul 2024 07:30:29 -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=Lq69QmgAuNgNbYMwu3vScsFSXTjrbIkhG0vdfxdS+Od98xUjReh2CnDn IjlC653Bp2qRJJKXh9CafogCAkqcNYOfVd/LxmJpvXV0V1nM6hQvzMzAJ ODn+o55liKt8O9vduAQxiiz7IFi5hNGIH/zRAm/gIR2FcPY8Q1weknOPu A=; X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688890" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 13:30:17 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:27:58 +0200 Message-ID: <20240722113008.9057-2-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr> References: <20240722113008.9057-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D4AFC67420 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.81 X-Spam-Score: -3.81 X-TUID: W2IGsnQv6WX2 * 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