f01bcc8f62
Updates resumable hash implementation to Go 1.8 equivalent. This should be a major speedup, since it includes a number of optimizations from Go 1.7. Signed-off-by: Stephen J Day <stephen.day@docker.com>
12 lines
260 B
Go
12 lines
260 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build 386 amd64 s390x ppc64le
|
|
|
|
package sha256
|
|
|
|
//go:noescape
|
|
|
|
func block(dig *digest, p []byte)
|