[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53315] [PATCH 024/150] gnu: Add rust-chacha20-0.8.
From: |
Aleksandr Vityazev |
Subject: |
[bug#53315] [PATCH 024/150] gnu: Add rust-chacha20-0.8. |
Date: |
Mon, 17 Jan 2022 13:10:56 +0000 |
* gnu/packages/crates-io.scm (rust-chacha20-0.8): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe4e366c60..88af7f4b54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9206,6 +9206,38 @@ (define-public rust-cfg-if-0.1
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+(define-public rust-chacha20-0.8
+ (package
+ (name "rust-chacha20")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.3)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/stream-ciphers")
+ (synopsis "ChaCha20 stream cipher implemented in pure Rust")
+ (description
+ "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using
traits
+from the RustCrypto @code{cipher} crate, with optional architecture-specific
+hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8,
ChaCha12,
+XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional
+@code{rand_core-compatible} RNGs based on those ciphers.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-chalk-derive-0.68
(package
(name "rust-chalk-derive")
--
2.34.0
--
Aleksandr Vityazev
- [bug#53315] [PATCH 011/150] gnu: Add rust-sha2-0.10., (continued)
- [bug#53315] [PATCH 011/150] gnu: Add rust-sha2-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 015/150] gnu: rust-curve25519-dalek-3: Update to 3.2.0., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 017/150] gnu: Add rust-aes-gcm-0.8., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 019/150] gnu: Add rust-hkdf-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 018/150] gnu: rust-aes-gcm-0.6: Inherit from rust-aes-gcm-0.8., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 016/150] gnu: Add rust-x25519-dalek-1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 023/150] gnu: Add rust-aead-0.4., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 022/150] gnu: rust-blobby-0.3: Update to 0.3.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 020/150] gnu: rust-hkdf-0.9: Inherit from rust-hkdf-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 021/150] gnu: Add rust-ecies-ed25519-0.5., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 024/150] gnu: Add rust-chacha20-0.8.,
Aleksandr Vityazev <=
- [bug#53315] [PATCH 026/150] gnu: Add rust-chacha20poly1305-0.9., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 025/150] gnu: Add rust-poly1305-0.7., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 028/150] gnu: rust-signature-1: Update to 1.5.0., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 027/150] gnu: rust-signature-derive-1: Update to 1.0.0-pre.4., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 029/150] gnu: Add rust-blake2-0.9., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 030/150] gnu: Add rust-blakeout-0.3., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 031/150] gnu: rust-num-cpus-1: Update to 1.13.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 033/150] gnu: rust-serde-1: Update to 1.0.133., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 032/150] gnu: rust-byteorder-1: Update to 1.4.3., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 036/150] gnu: rust-trybuild-1: Update to 1.0.54., Aleksandr Vityazev, 2022/01/17