gnu: Add go-github-com-minio-md5-simd.

* gnu/packages/golang-crypto.scm (go-github-com-minio-md5-simd): New variable.

Change-Id: Ie2b739a36eabeb464e9e981ccf3cb620ddbfa092
This commit is contained in:
Sharlatan Hellseher 2025-02-18 12:10:56 +00:00
parent 4d8275e6d1
commit 3f605d642e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1526,6 +1526,37 @@ HighwayHash is a fast hash function designed to defend hash-flooding attacks
or to authenticate short-lived messages.") or to authenticate short-lived messages.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public go-github-com-minio-md5-simd
(package
(name "go-github-com-minio-md5-simd")
(version "1.1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/minio/md5-simd")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0qj8ipifbdg3ppilyqj8zy68f72rmqy8flli1vch3fibrbw8vpd0"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/minio/md5-simd"))
(propagated-inputs
(list go-github-com-klauspost-cpuid-v2))
(home-page "https://github.com/minio/md5-simd")
(synopsis "Accelerate MD5 computations in pure Golang")
(description
"This is a SIMD accelerated MD5 package, allowing up to either 8 (AVX2)
or 16 (AVX512) independent MD5 sums to be calculated on a single CPU core.
@code{md5-simd} integrates a similar mechanism as described in
@code{minio/sha256-simd} for making it easy for clients to take advantages of
the parallel nature of the MD5 calculation. This will result in reduced
overall CPU load.")
(license license:asl2.0)))
(define-public go-github-com-minio-sha256-simd (define-public go-github-com-minio-sha256-simd
(package (package
(name "go-github-com-minio-sha256-simd") (name "go-github-com-minio-sha256-simd")