mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-01 07:31:58 +02:00
``` * use go 1.17 semantics in go.mod * pin tonistiigi/fsutil dep to match docker/docker's dep go get -u ./... go mod vendor ```
27 lines
519 B
Go
27 lines
519 B
Go
// Copyright (c) 2017 Minio Inc. All rights reserved.
|
|
// Use of this source code is governed by a license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// +build noasm !amd64,!arm64,!ppc64le
|
|
|
|
package highwayhash
|
|
|
|
var (
|
|
useSSE4 = false
|
|
useAVX2 = false
|
|
useNEON = false
|
|
useVMX = false
|
|
)
|
|
|
|
func initialize(state *[16]uint64, k []byte) {
|
|
initializeGeneric(state, k)
|
|
}
|
|
|
|
func update(state *[16]uint64, msg []byte) {
|
|
updateGeneric(state, msg)
|
|
}
|
|
|
|
func finalize(out []byte, state *[16]uint64) {
|
|
finalizeGeneric(out, state)
|
|
}
|