diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:56:41 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:11 +0300 |
commit | ce85fbb2b8111450b81d8e713c864774e5b8378b (patch) | |
tree | ca05024d05eff4e3b5e35b27f7f66e48a87acf95 /gnu | |
parent | 4b53dc975e1452bf6f63ce090f37c04ffe6bfa56 (diff) | |
download | guix-ce85fbb2b8111450b81d8e713c864774e5b8378b.tar.gz |
gnu: Add rust-eax-0.5.
* gnu/packages/crates-io.scm (rust-eax-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 28f1d7f5e9..c3fc6c2569 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20123,6 +20123,39 @@ from the main thread.") easy.") (license (list license:unlicense license:zlib)))) +(define-public rust-eax-0.5 + (package + (name "rust-eax") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "eax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a5cpzk577f1lw3wkk20iqvavnbdr5yzjrcglvbvk0ivj2yzlm4r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-cmac" ,rust-cmac-0.7) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-aes" ,rust-aes-0.8)))) + (home-page "https://github.com/RustCrypto/AEADs") + (synopsis "Pure Rust implementation of the EAX Authenticated Encryption with +Associated Data (AEAD)") + (description + "Pure Rust implementation of the EAX Authenticated Encryption with Associated +Data (AEAD) Cipher with optional architecture-specific hardware acceleration +This scheme is only based on a block cipher. It uses counter mode (CTR) for +encryption and CBC mode for generating a OMAC/CMAC/CBCMAC (all names for the +same thing).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ecb-0.1 (package (name "rust-ecb") |