From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IGc+MMnjMmWfIwAA9RJhRA:P1 (envelope-from ) for ; Fri, 20 Oct 2023 22:32:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IGc+MMnjMmWfIwAA9RJhRA (envelope-from ) for ; Fri, 20 Oct 2023 22:32:09 +0200 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 AA2B43C8BC for ; Fri, 20 Oct 2023 22:32:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Seal: i=1; s=key1; d=yhetil.org; t=1697833929; a=rsa-sha256; cv=none; b=e2jRa/UWi1eVrfu5MCPfGQafLu79WXG8b4hxSIiTqPp+TIRL2uy8dcGKvpq2Ew6sA4Mfsf Jug/bzjPTHtVsjiTOGdgoPHear7i6n8v1ay4UiczHqK2nVPNAZc9P4Pp1kDZDyxRQb0YIP o6Eb2doQy/0r3jGU+qfK6wXSk/kxjVH9udiZujsNtI3WUc3/QPWZlpyTsgPOdbmCVW15S9 NdwS9ljbSdVZlq9EkLICPYALod7v5uMEfPux/4OETgw0kDa9IAYMOnHA1HylNWFERlUvJd xS0+nNRZqm30gKGRehPxMzO9u1Ma0gjN2LOqQXQVFat2B6QskQf6+fh7DFtLew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1697833929; 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; bh=OFUWIb9IaTirxpGJCmY8Kokvl3W5pl1DKkzZoFnZKgI=; b=CU6eGJNcN8QX/AXDZ3iF+Tuqbxs1YvbMdyH98IMhwBMxDFCvJoJDEJlzhcXQxmZVZNjGlJ P8Y253bjKwvtr9ZGl+uglvtbtUs5nSgqR6FHUUPFXHsAAC6c4SGtSt4UqBkeCxw1ZgN2sa EN+RkS3RM1rsl/5AuZfpXku+gcIVfj5Jn9Z0p2YI+LKsu0J/6sLL0dFoa9C/apNtfCyV6L d6TdGIeUSNcRfwughwKdDHKAMfS2IbjwsZKNdnn7V2XalVHJUzCGHF6HMI2SRZeiu09/hO UWMpLLbdr7TXAHVGaYblZht0fTZ8gur/SvonQ4wRJJCzd4E7+QYn68SwAMm3Gw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtw9s-0003dq-0e; Fri, 20 Oct 2023 16:31:48 -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 1qtw9o-0003WW-9k for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:45 -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 1qtw9j-0004xh-1S for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtwAA-0004xu-D3; Fri, 20 Oct 2023 16:32:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 20 Oct 2023 20:32:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66579@debbugs.gnu.org Cc: steve@futurile.net, efraim@flashner.co.il X-Debbugs-Original-Cc: guix-patches@gnu.org, Steve George X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66579-submit@debbugs.gnu.org id=B66579.169783387918630 (code B ref 66579); Fri, 20 Oct 2023 20:32:06 +0000 Received: (at 66579) by debbugs.gnu.org; 20 Oct 2023 20:31:19 +0000 Received: from localhost ([127.0.0.1]:41636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw9P-0004qK-BZ for submit@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:19 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:45982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw98-0004la-Hm for 66579@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:03 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qtw8b-006yYV-G4 for 66579@debbugs.gnu.org; Fri, 20 Oct 2023 22:30:29 +0200 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qtw8b-0001i8-2O; Fri, 20 Oct 2023 22:30:29 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qtw8K-00CqMP-OC; Fri, 20 Oct 2023 22:30:12 +0200 From: Steve George Date: Fri, 20 Oct 2023 21:27:56 +0100 Message-ID: <2c462d3933225e3625839d1523fbb83f6acec255.1697832330.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: <3e60165e-956b-443a-ae07-db86fd7157d2@gmail.com> 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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.75 X-Spam-Score: -4.75 X-Migadu-Queue-Id: AA2B43C8BC X-TUID: +KCH/joMAEXE * gnu/packages/crates-io.scm (rust-aes-ctr): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ffc7891ee8..f1e21aa76f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2106,6 +2106,34 @@ (define-public rust-aes-0.3 ("rust-aesni" ,rust-aesni-0.6) ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))))) +(define-public rust-aes-ctr-0.6 + (package + (name "rust-aes-ctr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-ctr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp")))) + (build-system cargo-build-system) + (arguments + (list + #:skip-build? #f + #:cargo-inputs `(("rust-aesni" ,rust-aesni-0.10) + ("rust-aes-soft" ,rust-aes-soft-0.6) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-ctr" ,rust-ctr-0.6)) + #:cargo-development-inputs `(("rust-cipher" ,rust-cipher-0.2)))) + (home-page "https://github.com/RustCrypto/block-ciphers/tree/master/aes") + (synopsis "Pure Rust implementation of AES") + (description + "A pure Rust implementation of the Advanced Encryption +Standard (AES). Use the AES crate if possible, as the aes-ctr has been +into it.") + (license (list license:expat license:asl2.0)))) + (define-public rust-aes-gcm-0.10 (package (name "rust-aes-gcm") -- 2.41.0