func bytes.Clone

20 uses

	bytes (current package)
		bytes.go#L1408: func Clone(b []byte) []byte {

	bufio
		bufio.go#L465: 		buf := bytes.Clone(frag)

	crypto/cipher
		cbc.go#L33: 		iv:        bytes.Clone(iv),
		ctr.go#L60: 		ctr:     bytes.Clone(iv),

	crypto/ecdh
		nist.go#L93: 			privateKey: bytes.Clone(key),
		nist.go#L106: 		privateKey: bytes.Clone(key),
		nist.go#L125: 		publicKey: bytes.Clone(key),
		x25519.go#L64: 		privateKey: bytes.Clone(key),
		x25519.go#L78: 		publicKey: bytes.Clone(key),

	crypto/internal/fips140/ecdh
		ecdh.go#L213: 	k := &PrivateKey{d: bytes.Clone(key), pub: PublicKey{curve: c.curve, q: publicKey}}
		ecdh.go#L231: 	return &PublicKey{curve: c.curve, q: bytes.Clone(key)}, nil

	crypto/internal/fips140/ecdsa
		ecdsa.go#L422: 	b = bytes.Clone(b)

	crypto/internal/fips140/rsa
		rsa.go#L184: 	dP = bytes.Clone(priv.dP)
		rsa.go#L185: 	dQ = bytes.Clone(priv.dQ)

	crypto/internal/fips140/sha3
		shake.go#L115: 	s.initBlock = bytes.Clone(b[marshaledSize:])

	crypto/tls
		ech.go#L557: 	return echType, cs, configID, bytes.Clone(encap), bytes.Clone(payload), nil

	crypto/x509
		oid.go#L200: 	oid, ok := newOIDFromDER(bytes.Clone(b))

	net/textproto
		reader.go#L52: 		line = bytes.Clone(line)
		reader.go#L125: 		line = bytes.Clone(line)