How to Install and Uninstall golang-github-minio-blake2b-simd-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "golang-github-minio-blake2b-simd-dev" package

This guide covers the steps necessary to install golang-github-minio-blake2b-simd-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-minio-blake2b-simd-dev

2. Uninstall "golang-github-minio-blake2b-simd-dev" package

This tutorial shows how to uninstall golang-github-minio-blake2b-simd-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-minio-blake2b-simd-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-minio-blake2b-simd-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-github-minio-blake2b-simd-dev
Architecture: all
Version: 0.0~git20160723.3f5f724-2
Priority: optional
Section: universe/devel
Source: golang-github-minio-blake2b-simd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 239
Filename: pool/universe/g/golang-github-minio-blake2b-simd/golang-github-minio-blake2b-simd-dev_0.0~git20160723.3f5f724-2_all.deb
Size: 51868
MD5sum: 28ee41741aa59ae284642bc01fde2992
SHA1: edf4f75b64a157e395c99457da80035529053e54
SHA256: d363d826a600ba9a3e91f9708d31b6d912a60a09f93f7ae466409d366ba23775
SHA512: 6484a82ffa343e9f236ba4caf5a1c6d7871772eed3831bb9c05de038b645a65e7ab15b154217803be08596d0a3a9bbd344f13dcaa5590a301102765258c1a8e5
Homepage: https://github.com/minio/blake2b-simd
Description-en: Fast hashing using pure Go implementation of BLAKE2b with SIMD instructions
BLAKE2b-SIMD Pure Go implementation of BLAKE2b using SIMD
optimizations. Introduction This package was initially based
on the pure go BLAKE2b (https://github.com/dchest/blake2b)
implementation of Dmitry Chestnykh and merged with the (cgo
dependent) AVX optimized BLAKE2 (https://github.com/codahale/blake2)
implementation (which in turn is based on the official implementation
(https://github.com/BLAKE2/BLAKE2). It does so by using Go's Assembler
(https://golang.org/doc/asm) for amd64 architectures with a golang only
fallback for other architectures.
.
In addition to AVX there is also support for AVX2 as well as SSE. Best
performance is obtained with AVX2 which gives roughly a 4X performance
increase approaching hashing speeds of 1GB/sec on a single core.
.
BLAKE2b is a hashing algorithm that operates on 64-bit integer values. The
AVX2 version uses the 256-bit wide YMM registers in order to essentially
process four operations in parallel. AVX and SSE operate on 128-bit
values simultaneously (two operations in parallel). Below are excerpts
from compressAvx2_amd64.s, compressAvx_amd64.s, and compress_generic.go
respectively.
.
VPADDQ YMM0,YMM0,YMM1 /* v0 += v4, v1 += v5, v2 += v6, v3 += v7 */
.
VPADDQ XMM0,XMM0,XMM2 /* v0 += v4, v1 += v5 */ VPADDQ
XMM1,XMM1,XMM3 /* v2 += v6, v3 += v7 */
.
v0 += v4 v1 += v5 v2 += v6 v3 += v7
Description-md5: 093ddd7a571175b13ff7bf6442ce0f33