From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qLjgNpgn92On+gAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 09:45:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MMX2Npgn92N/GwAA9RJhRA (envelope-from ) for ; Thu, 23 Feb 2023 09:45:12 +0100 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 B29732ECC2 for ; Thu, 23 Feb 2023 09:45:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677141912; a=rsa-sha256; cv=none; b=NJYTSLetrle1Wnq+mHpGYtHZaa5Oo9iK8/TJ8PUNaBwzmYqE3RGNj7tmY5wZLJe3xNUbwn nVrVZG7zS4uoMNScRSdqf6rKScT0QdzVbvLbvTTgMk+s8Ri8J4+XX0J+ko7blT4B4oZZ/4 jt/uW3X2l+MGsygik/GtSdDVwkGv85RM6kCY0wqNZAlFXVxbVlNxLZfSODR4n0dgs7xyyr zeBNeXe73afpQ0/dNn/DNalM60yIGe9P2BcTF92vlJXRps/3huUp5fkw5vRzVLYxZ7ck2W JAA17vK6PJPGeU1CPwLrV8L4AOJDLHbK8HA8W5p3nn2O0Fi6BZ/gDXPbBBYLdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677141912; 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=FNKH+u3A9QQIDGz+6JEXCc+F1RWXfOnHJvnjfScJ038=; b=ah2inIQt6z6uksCjqlLZOU41XCTV8KM8YTHfm32meXAPLTv5NkqVDlzHMge+nYfvCBAXU/ V1TpkG318JesrVLMXkaRwWjJ9g9R08AEjLod3yYDKah80QzuKz2V/MruDIpC3KbjUVkh0O QMGmUJK6Jfu7i3O6NvCd7FTA2TvSUKhRI6//EeOvw2E0o7cop8SEnDHzgrTMKzYR8zvgfQ Lq3M1yCMTR93D9zvDOvPDnppnv5Yb6qGkOV8+5W9m3GIwuchZXQoQw1uxqLknEd1eClEKp SGHjqj5UlqRg8oGPXYej593T9b87GaR8/7O8I6gMaHvO1kfI2LaIFQ5tPuS0Hg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV7Ds-0004Vs-4b; Thu, 23 Feb 2023 03:45:04 -0500 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 1pV7Dq-0004VX-9P for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pV7Dq-0002Mf-0l for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pV7Dp-0000pF-RT for guix-patches@gnu.org; Thu, 23 Feb 2023 03:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 08:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61727 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61727@debbugs.gnu.org Cc: Efraim Flashner , Steve George Received: via spool by 61727-submit@debbugs.gnu.org id=B61727.16771418563095 (code B ref 61727); Thu, 23 Feb 2023 08:45:01 +0000 Received: (at 61727) by debbugs.gnu.org; 23 Feb 2023 08:44:16 +0000 Received: from localhost ([127.0.0.1]:32893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7D5-0000nq-Oi for submit@debbugs.gnu.org; Thu, 23 Feb 2023 03:44:16 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:37420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7D4-0000nX-28 for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 03:44:14 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pV7Cy-000wWv-FZ; Thu, 23 Feb 2023 09:44:08 +0100 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pV7Cx-0007nA-VM; Thu, 23 Feb 2023 09:44:08 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pV7Cv-0001s5-2S; Thu, 23 Feb 2023 09:44:05 +0100 From: Steve George Date: Thu, 23 Feb 2023 08:42:41 +0000 Message-Id: <20230223084241.3762-6-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223084241.3762-1-steve@futurile.net> References: <20230223084241.3762-1-steve@futurile.net> 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: X-Migadu-Queue-Id: B29732ECC2 X-Spam-Score: -2.77 X-Migadu-Spam-Score: -2.77 X-Migadu-Scanner: scn0.migadu.com 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-TUID: HoLLu8jCFBjc * gnu/packages/crates-io.scm (rust-aes-ctr): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a18247c65f..310cec113f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1923,6 +1923,35 @@ (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 + `(#: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 +deprecated.") + (license (list license:expat license:asl2.0)))) + (define-public rust-aes-gcm-0.8 (package (name "rust-aes-gcm") -- 2.39.1