mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
crypto: fix dead links and correct SHA-512 algorithm comment
Change-Id: I71d63b0b78a9fc4895574f6df465e22c9585e77c Reviewed-on: https://go-review.googlesource.com/c/go/+/710196 Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
2c7c62b972
commit
6e5cfe94b0
3 changed files with 4 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ import (
|
|||
// To find it, surf to http://www.intel.com/p/en_US/embedded
|
||||
// and search for that title.
|
||||
// AVX2 version by Intel, same algorithm as code in Linux kernel:
|
||||
// https://github.com/torvalds/linux/blob/master/arch/x86/crypto/sha256-avx2-asm.S
|
||||
// https://github.com/torvalds/linux/blob/master/lib/crypto/x86/sha256-avx2-asm.S
|
||||
// by
|
||||
// James Guilford <james.guilford@intel.com>
|
||||
// Kirk Yap <kirk.s.yap@intel.com>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import (
|
|||
// https://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf
|
||||
//
|
||||
// Wt = Mt; for 0 <= t <= 15
|
||||
// Wt = SIGMA1(Wt-2) + SIGMA0(Wt-15) + Wt-16; for 16 <= t <= 79
|
||||
// Wt = SIGMA1(Wt-2) + Wt-7 + SIGMA0(Wt-15) + Wt-16; for 16 <= t <= 79
|
||||
//
|
||||
// a = H0
|
||||
// b = H1
|
||||
|
|
@ -154,7 +154,7 @@ func main() {
|
|||
// Architecture Processors" White-paper
|
||||
// https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-sha512-implementations-ia-processors-paper.pdf
|
||||
// AVX2 version by Intel, same algorithm in Linux kernel:
|
||||
// https://github.com/torvalds/linux/blob/master/arch/x86/crypto/sha512-avx2-asm.S
|
||||
// https://github.com/torvalds/linux/blob/master/lib/crypto/x86/sha512-avx2-asm.S
|
||||
|
||||
// James Guilford <james.guilford@intel.com>
|
||||
// Kirk Yap <kirk.s.yap@intel.com>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import (
|
|||
//go:generate go run . -out ../sha1block_amd64.s -pkg sha1
|
||||
|
||||
// AVX2 version by Intel, same algorithm as code in Linux kernel:
|
||||
// https://github.com/torvalds/linux/blob/master/arch/x86/crypto/sha1_avx2_x86_64_asm.S
|
||||
// https://github.com/torvalds/linux/blob/master/lib/crypto/x86/sha1-avx2-asm.S
|
||||
// Authors:
|
||||
// Ilya Albrekht <ilya.albrekht@intel.com>
|
||||
// Maxim Locktyukhin <maxim.locktyukhin@intel.com>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue