mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-25 19:56:18 +08:00
15 lines
312 B
Go
15 lines
312 B
Go
// Copyright 2018 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 !purego
|
|
|
|
package subtle
|
|
|
|
import "golang.org/x/sys/cpu"
|
|
|
|
var useAVX2 = cpu.X86.HasAVX2
|
|
|
|
//go:noescape
|
|
func xorBytes(dst, a, b *byte, n int)
|