guix-commits
[Top][All Lists]
Advanced

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

130/172: gnu: Add go-github-com-aead-ecdh.


From: guix-commits
Subject: 130/172: gnu: Add go-github-com-aead-ecdh.
Date: Sat, 9 Nov 2024 16:45:08 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 427bb76c47619d663e90b7eeefd1118c2faeb66b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 22 11:46:08 2024 +0100

    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"))



reply via email to

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