github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/cipherhw/cipherhw_amd64.go (about) 1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build amd64,!gccgo,!appengine 6 7 package cipherhw 8 9 // defined in asm_amd64.s 10 func hasAESNI() bool 11 12 // AESGCMSupport returns true if the Go standard library supports AES-GCM in 13 // hardware. 14 func AESGCMSupport() bool { 15 return hasAESNI() 16 }