mirror of
https://github.com/pgsty/minio.git
synced 2026-09-17 15:58:26 +03:00
def04f01cf
Thanks to @fwessels for the upstream work on reedsolomon and highwayhash which has resulted in 10x performance improvement on ppc64 architecture.
29 lines
533 B
Go
29 lines
533 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 !amd64
|
|
// +build !arm64
|
|
// +build !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)
|
|
}
|