// Copyright 2026 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. //go:build !(amd64 || arm64 || 386) package maps import ( "unsafe" ) // AES hashing not implemented for these architectures const memHashAESImplemented = false const memHashUsesVAES = false func memHash32AES(p unsafe.Pointer, h uintptr) uintptr { panic("memHash32AES not implemented") } func memHash64AES(p unsafe.Pointer, h uintptr) uintptr { panic("memHash64AES not implemented") } func strHashAES(p unsafe.Pointer, h uintptr) uintptr { panic("strHashAES not implemented") } func MemHash(p unsafe.Pointer, h, s uintptr) uintptr { return memHashFallback(p, h, s) } func MemHash32(p unsafe.Pointer, h uintptr) uintptr { return memHash32Fallback(p, h) } func MemHash64(p unsafe.Pointer, h uintptr) uintptr { return memHash64Fallback(p, h) } func StrHash(p unsafe.Pointer, h uintptr) uintptr { return strHashFallback(p, h) }