mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: rust-aes: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-aes-0.8, rust-aes-0.7, rust-aes-0.6, rust-aes-0.4, rust-aes-0.3, rust-aes-ctr-0.6, rust-aes-gcm-0.10, rust-aes-gcm-0.8, rust-aes-gcm-0.6, rust-aes-gcm-0.5, rust-aes-soft-0.6, rust-aes-soft-0.4, rust-aesni-0.10, rust-aesni-0.7, rust-aesni-0.6): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I1720213127044ac898e46f4d66e78d93b34059a3
This commit is contained in:
parent
eec85d8193
commit
f4e6eef623
3 changed files with 382 additions and 374 deletions
|
@ -1,6 +1,13 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
||||
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
||||
;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
|
||||
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
|
||||
;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2023 Steve George <steve@futurile.net>
|
||||
;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -32,6 +39,380 @@ (define-module (gnu packages crates-crypto)
|
|||
;;; Please: Try to add new module packages in alphabetic order.
|
||||
;;;
|
||||
|
||||
(define-public rust-aes-0.8
|
||||
(package
|
||||
(name "rust-aes")
|
||||
(version "0.8.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1qi7z96wf3zd6alg116nh2myp34bw2574jwly4zrhpz9k19887xc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-hex-literal" ,rust-hex-literal-0.3))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "Facade for AES (Rijndael) block ciphers implementations")
|
||||
(description "This package provides a facade for AES (Rijndael) block
|
||||
ciphers implementations.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aes-0.7
|
||||
(package
|
||||
(inherit rust-aes-0.8)
|
||||
(name "rust-aes")
|
||||
(version "0.7.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-cipher" ,rust-cipher-0.3)
|
||||
("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||
("rust-ctr" ,rust-ctr-0.8)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.3))))))
|
||||
|
||||
(define-public rust-aes-0.6
|
||||
(package
|
||||
(inherit rust-aes-0.7)
|
||||
(name "rust-aes")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-0.6)
|
||||
("rust-aesni" ,rust-aesni-0.10)
|
||||
("rust-cipher" ,rust-cipher-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.2))))))
|
||||
|
||||
(define-public rust-aes-0.4
|
||||
(package
|
||||
(inherit rust-aes-0.6)
|
||||
(name "rust-aes")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-0.4)
|
||||
("rust-aesni" ,rust-aesni-0.7)
|
||||
("rust-block-cipher" ,rust-block-cipher-0.7))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
|
||||
|
||||
(define-public rust-aes-0.3
|
||||
(package
|
||||
(inherit rust-aes-0.4)
|
||||
(name "rust-aes")
|
||||
(version "0.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-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 #: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 @acronym{AES, Advanced Encryption
|
||||
Standard}. 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")
|
||||
(version "0.10.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.5)
|
||||
("rust-aes" ,rust-aes-0.8)
|
||||
("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-ctr" ,rust-ctr-0.9)
|
||||
("rust-ghash" ,rust-ghash-0.5)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-aead" ,rust-aead-0.5)
|
||||
("rust-hex-literal" ,rust-hex-literal-0.3))))
|
||||
(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-gcm-0.8
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.10)
|
||||
(name "rust-aes-gcm")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.3)
|
||||
("rust-aes" ,rust-aes-0.6)
|
||||
("rust-cipher" ,rust-cipher-0.2)
|
||||
("rust-ctr" ,rust-ctr-0.6)
|
||||
("rust-ghash" ,rust-ghash-0.3)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-hex-literal" ,rust-hex-literal-0.2))))))
|
||||
|
||||
(define-public rust-aes-gcm-0.6
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.8)
|
||||
(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"))))
|
||||
(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))))))
|
||||
|
||||
(define-public rust-aes-gcm-0.5
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.6)
|
||||
(name "rust-aes-gcm")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0f66b5bmyj38r1hj55wzamlzw3y1aql34lgwr2vxn93073d6njl3"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.2)
|
||||
("rust-aes" ,rust-aes-0.3)
|
||||
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-ghash" ,rust-ghash-0.2)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))))))
|
||||
|
||||
(define-public rust-aes-soft-0.6
|
||||
(package
|
||||
(name "rust-aes-soft")
|
||||
(version "0.6.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers")
|
||||
(description "This package provides a bit-sliced implementation of
|
||||
AES (Rijndael) block ciphers.
|
||||
|
||||
This package is deprecated and was replaced by the @code{aes} crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aes-soft-0.4
|
||||
(package
|
||||
(inherit rust-aes-soft-0.6)
|
||||
(name "rust-aes-soft")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
|
||||
|
||||
(define-public rust-aes-soft-0.3
|
||||
(package
|
||||
(inherit rust-aes-soft-0.4)
|
||||
(name "rust-aes-soft")
|
||||
(version "0.3.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))))))
|
||||
|
||||
(define-public rust-aesni-0.10
|
||||
(package
|
||||
(name "rust-aesni")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.2)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.3))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
|
||||
(description "This package provides an implementation of AES (Rijndael)
|
||||
block ciphers using AES-NI.
|
||||
|
||||
This package is deprecated and was replaced by the @code{aes} crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aesni-0.7
|
||||
(package
|
||||
(inherit rust-aesni-0.10)
|
||||
(name "rust-aesni")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.4))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.4))))))
|
||||
|
||||
(define-public rust-aesni-0.6
|
||||
(package
|
||||
(inherit rust-aesni-0.7)
|
||||
(name "rust-aesni")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
|
||||
|
||||
(define-public rust-botan-0.10
|
||||
(package
|
||||
(name "rust-botan")
|
||||
|
|
|
@ -736,380 +736,6 @@ (define-public rust-aead-0.2
|
|||
(("rust-generic-array" ,rust-generic-array-0.12)
|
||||
("rust-heapless" ,rust-heapless-0.5))))))
|
||||
|
||||
(define-public rust-aes-0.8
|
||||
(package
|
||||
(name "rust-aes")
|
||||
(version "0.8.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1qi7z96wf3zd6alg116nh2myp34bw2574jwly4zrhpz9k19887xc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-hex-literal" ,rust-hex-literal-0.3))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "Facade for AES (Rijndael) block ciphers implementations")
|
||||
(description "This package provides a facade for AES (Rijndael) block
|
||||
ciphers implementations.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aes-0.7
|
||||
(package
|
||||
(inherit rust-aes-0.8)
|
||||
(name "rust-aes")
|
||||
(version "0.7.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-cipher" ,rust-cipher-0.3)
|
||||
("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||
("rust-ctr" ,rust-ctr-0.8)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.3))))))
|
||||
|
||||
(define-public rust-aes-0.6
|
||||
(package
|
||||
(inherit rust-aes-0.7)
|
||||
(name "rust-aes")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-0.6)
|
||||
("rust-aesni" ,rust-aesni-0.10)
|
||||
("rust-cipher" ,rust-cipher-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.2))))))
|
||||
|
||||
(define-public rust-aes-0.4
|
||||
(package
|
||||
(inherit rust-aes-0.6)
|
||||
(name "rust-aes")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-0.4)
|
||||
("rust-aesni" ,rust-aesni-0.7)
|
||||
("rust-block-cipher" ,rust-block-cipher-0.7))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
|
||||
|
||||
(define-public rust-aes-0.3
|
||||
(package
|
||||
(inherit rust-aes-0.4)
|
||||
(name "rust-aes")
|
||||
(version "0.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-aes-soft" ,rust-aes-soft-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 #: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 @acronym{AES, Advanced Encryption
|
||||
Standard}. 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")
|
||||
(version "0.10.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.5)
|
||||
("rust-aes" ,rust-aes-0.8)
|
||||
("rust-cipher" ,rust-cipher-0.4)
|
||||
("rust-ctr" ,rust-ctr-0.9)
|
||||
("rust-ghash" ,rust-ghash-0.5)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-aead" ,rust-aead-0.5)
|
||||
("rust-hex-literal" ,rust-hex-literal-0.3))))
|
||||
(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-gcm-0.8
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.10)
|
||||
(name "rust-aes-gcm")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.3)
|
||||
("rust-aes" ,rust-aes-0.6)
|
||||
("rust-cipher" ,rust-cipher-0.2)
|
||||
("rust-ctr" ,rust-ctr-0.6)
|
||||
("rust-ghash" ,rust-ghash-0.3)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-hex-literal" ,rust-hex-literal-0.2))))))
|
||||
|
||||
(define-public rust-aes-gcm-0.6
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.8)
|
||||
(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"))))
|
||||
(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))))))
|
||||
|
||||
(define-public rust-aes-gcm-0.5
|
||||
(package
|
||||
(inherit rust-aes-gcm-0.6)
|
||||
(name "rust-aes-gcm")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-gcm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0f66b5bmyj38r1hj55wzamlzw3y1aql34lgwr2vxn93073d6njl3"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-aead" ,rust-aead-0.2)
|
||||
("rust-aes" ,rust-aes-0.3)
|
||||
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-ghash" ,rust-ghash-0.2)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-zeroize" ,rust-zeroize-1))))))
|
||||
|
||||
(define-public rust-aes-soft-0.6
|
||||
(package
|
||||
(name "rust-aes-soft")
|
||||
(version "0.6.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers")
|
||||
(description "This package provides a bit-sliced implementation of
|
||||
AES (Rijndael) block ciphers.
|
||||
|
||||
This package is deprecated and was replaced by the @code{aes} crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aes-soft-0.4
|
||||
(package
|
||||
(inherit rust-aes-soft-0.6)
|
||||
(name "rust-aes-soft")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
|
||||
|
||||
(define-public rust-aes-soft-0.3
|
||||
(package
|
||||
(inherit rust-aes-soft-0.4)
|
||||
(name "rust-aes-soft")
|
||||
(version "0.3.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aes-soft" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-byteorder" ,rust-byteorder-1)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2))))))
|
||||
|
||||
(define-public rust-aesni-0.10
|
||||
(package
|
||||
(name "rust-aesni")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cipher" ,rust-cipher-0.2)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.3))))
|
||||
(home-page "https://github.com/RustCrypto/block-ciphers")
|
||||
(synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
|
||||
(description "This package provides an implementation of AES (Rijndael)
|
||||
block ciphers using AES-NI.
|
||||
|
||||
This package is deprecated and was replaced by the @code{aes} crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-aesni-0.7
|
||||
(package
|
||||
(inherit rust-aesni-0.10)
|
||||
(name "rust-aesni")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.4))
|
||||
#:cargo-development-inputs
|
||||
(("rust-block-cipher" ,rust-block-cipher-0.7)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.4))))))
|
||||
|
||||
(define-public rust-aesni-0.6
|
||||
(package
|
||||
(inherit rust-aesni-0.7)
|
||||
(name "rust-aesni")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "aesni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
|
||||
("rust-opaque-debug" ,rust-opaque-debug-0.2)
|
||||
("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
|
||||
|
||||
(define-public rust-afl-0.12
|
||||
(package
|
||||
(name "rust-afl")
|
||||
|
|
|
@ -59,6 +59,7 @@ (define-module (gnu packages rust-apps)
|
|||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages crates-apple)
|
||||
#:use-module (gnu packages crates-crypto)
|
||||
#:use-module (gnu packages crates-io)
|
||||
#:use-module (gnu packages crates-graphics)
|
||||
#:use-module (gnu packages crates-tls)
|
||||
|
|
Loading…
Reference in a new issue