mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 18:50:41 -07:00
Also prevent nats based account resolver from storing invalid jwt Updated compress and highwayhash Signed-off-by: Matthias Hanel <mh@synadia.com>
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)
|
|
}
|