// Copyright 2012 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 amd64 && !purego && gcpackage salsa//go:noescape// salsa2020XORKeyStream is implemented in salsa20_amd64.s.func salsa2020XORKeyStream(, *byte, uint64, , *byte)// XORKeyStream crypts bytes from in to out using the given key and counters.// In and out must overlap entirely or not at all. Counter// contains the raw salsa20 counter bytes (both nonce and block counter).func (, []byte, *[16]byte, *[32]byte) {iflen() == 0 {return } _ = [len()-1]salsa2020XORKeyStream(&[0], &[0], uint64(len()), &[0], &[0])}
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.