guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

92/189: gnu: Add rust-aes-gcm-0.6.


From: guix-commits
Subject: 92/189: gnu: Add rust-aes-gcm-0.6.
Date: Mon, 21 Sep 2020 06:01:24 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit e3bd10ef5eb022b7fc187b4ebbab84b34bdd084c
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 14:27:14 2020 +0530

    gnu: Add rust-aes-gcm-0.6.
    
    * gnu/packages/crates-io.scm (rust-aes-gcm-0.6): New variable.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7beb06f..5e77471 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -234,6 +234,40 @@ with Associated Data (AEAD) algorithms.")
 ciphers implementations.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aes-gcm-0.6
+  (package
+    (name "rust-aes-gcm")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes-gcm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aead" ,rust-aead-0.3)
+        ("rust-aes" ,rust-aes-0.4)
+        ("rust-block-cipher" ,rust-block-cipher-0.7)
+        ("rust-ghash" ,rust-ghash-0.3)
+        ("rust-subtle" ,rust-subtle-2)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-criterion-cycles-per-byte"
+         ,rust-criterion-cycles-per-byte-0.1)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/AEADs";)
+    (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption")
+    (description "This package provides a pure Rust implementation of the
+AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated
+Data (AEAD) Cipher with optional architecture-specific hardware
+acceleration.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-aes-soft-0.4
   (package
     (name "rust-aes-soft")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]