Source: golang-github-minio-sha256-simd Section: golang Priority: optional Standards-Version: 4.6.1 Maintainer: Debian Go Packaging Team Uploaders: Alexandre Viau , Dmitry Smirnov Build-Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-klauspost-cpuid-dev (>= 2.0.4) Homepage: https://github.com/minio/sha256-simd Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-minio-sha256-simd Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-minio-sha256-simd.git XS-Go-Import-Path: github.com/minio/sha256-simd Rules-Requires-Root: no Testsuite: autopkgtest-pkg-go Package: golang-github-minio-sha256-simd-dev Architecture: all Depends: ${misc:Depends}, golang-github-klauspost-cpuid-dev (>= 2.0.4) Description: implementation of SHA256 using SIMD instructions for Intel and ARM sha256-simd accelerate SHA256 computations in pure Go for both Intel (AVX2, AVX, SSE) as well as ARM (arm64) platforms. Introduction This package is designed as a drop-in replacement for crypto/sha256. For Intel CPUs it has three flavors for AVX2, AVX and SSE whereby the fastest method is automatically chosen depending on CPU capabilities. For ARM CPUs with the Cryptography Extensions advantage is taken of the SHA2 instructions resulting in a massive performance improvement. . This package uses Golang assembly and as such does not depend on cgo. The Intel versions are based on the implementations as described in "Fast SHA-256 Implementations on Intel Architecture Processors" by J. Guilford et al. Performance Below is the speed in MB/s for a single core (ranked fast to slow) as well as the factor of improvement over crypto/sha256 (when applicable).