1 // run -tags=purego -gcflags=all=-d=checkptr
3 // Copyright 2023 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
12 dst := make([]byte, 5)
13 src := make([]byte, 5)
14 for _, n := range []int{1024, 2048} { // just to make the size non-constant
16 subtle.XORBytes(dst, src, b[n-5:])