Source file src/crypto/internal/cryptotest/boundary_compat.go

     1  // Copyright 2026 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  //go:build !linux && !darwin
     6  
     7  package cryptotest
     8  
     9  import "testing"
    10  
    11  // BoundarySlices allocates a pair of slices of the given size.
    12  //
    13  // On this platform, the slices are not special.
    14  func BoundarySlices(t *testing.T, size int) (start, end []byte) {
    15  	return make([]byte, size), make([]byte, size)
    16  }
    17  

View as plain text