all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 66579@debbugs.gnu.org
Cc: steve@futurile.net, efraim@flashner.co.il
Subject: [bug#66579] [PATCH v2 10/15] gnu: Add rust-aes-ctr.
Date: Fri, 20 Oct 2023 21:27:56 +0100	[thread overview]
Message-ID: <2c462d3933225e3625839d1523fbb83f6acec255.1697832330.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1697832330.git.steve@futurile.net>

* 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





  parent reply	other threads:[~2023-10-20 20:32 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16 16:12 [bug#66579] [PATCH 00/13] Series to add rust-librespot-core, audio and discovery Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 01/13] gnu: Add rust-hyper-proxy Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 02/13] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 03/13] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 04/13] gnu: Add rust-librespot-protocol Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 05/13] gnu: Add rust-password-hash-0.2 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 07/13] gnu: Add rust-priority-queue-1 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 08/13] gnu: Add rust-shannon Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 09/13] gnu: Add rust-librespot-core Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio Steve George
2023-10-20  9:30   ` Christopher Baines
2023-10-20 17:02     ` Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 11/13] gnu: rust-if-addrs: Update to 0.7.0 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 12/13] gnu: rust-libmdns: Update to 0.7.5 Steve George
2023-10-16 16:54 ` [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery Steve George
2023-10-20 20:27 ` [bug#66579] [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 01/15] gnu: Add rust-hyper-proxy Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 02/15] gnu: rust-protobuf-2: Update to 2.28.0 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 03/15] gnu: rust-protobuf-codegen & rust-protobuf-codegen-pure: " Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 04/15] gnu: Add rust-librespot-protocol Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 05/15] gnu: Add rust-password-hash-0.2 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 06/15] gnu: Add rust-pbkdf2-0.8 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 08/15] gnu: Add rust-shannon Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 09/15] gnu: Add rust-librespot-core Steve George
2023-10-20 20:27   ` Steve George [this message]
2023-10-20 20:27   ` [bug#66579] [PATCH v2 11/15] gnu: Add rust-librespot-audio Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 12/15] gnu: rust-if-addrs: Update to 0.7.0 Steve George
2023-10-20 20:27   ` [bug#66579] [PATCH v2 13/15] gnu: rust-libmdns: Update to 0.7.5 Steve George
2023-10-20 20:28   ` [bug#66579] [PATCH v2 14/15] gnu: Add rust-librespot-discovery Steve George
2023-10-20 20:28   ` [bug#66579] [PATCH v2 15/15] gnu: Add rust-librespot-metadata Steve George
2023-10-22  8:37   ` bug#66579: [PATCH v2 00/15] Series to add rust-librespot-core, audio and discovery Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c462d3933225e3625839d1523fbb83f6acec255.1697832330.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=66579@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.