From 427bb76c47619d663e90b7eeefd1118c2faeb66b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 22 Sep 2024 11:46:08 +0100 Subject: gnu: Add go-github-com-aead-ecdh. * gnu/packages/golang-crypto.scm (go-github-com-aead-ecdh): New variable. Change-Id: I50ddf2453834d8928be2301715fd6c207de5a536 --- gnu/packages/golang-crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 9a845612a3..d221f78596 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -267,6 +267,34 @@ Bernstein. The most common ChaCha variant is ChaCha20 (20 rounds). ChaCha20 is standardized in RFC 7539.") (license license:expat)))) +(define-public go-github-com-aead-ecdh + (package + (name "go-github-com-aead-ecdh") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aead/ecdh") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0b0ps5wzm0q0skzikp91l8slgaw5s9z42g4wnmc69am5gw7h4mpd")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/aead/ecdh")) + (propagated-inputs + (list go-golang-org-x-crypto)) + (home-page "https://github.com/aead/ecdh") + (synopsis "Elliptic Cureves Deffie-Hellman key exchange implementation in Golang") + (description + "Package ecdh implements the Diffie-Hellman key exchange using elliptic +curves (ECDH). It directly provides ECDH implementations for the NIST curves +P224, P256, P384, and Bernstein's Cruve25519. The same logic is available in +Go 1.20 @code{crypto/ecdh} standard package.") + (license license:expat))) + (define-public go-github-com-aperturerobotics-jacobsa-crypto (let ((commit "b1eb679742a8deed015a4406384eea6bd985d08a") (revision "0")) -- cgit v1.2.3