1 // Copyright 2012 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.
5 // +build amd64,!appengine,!gccgo
7 // This code was translated into a form compatible with 6a from the public
8 // domain sources in SUPERCOP: https://bench.cr.yp.to/supercop.html
10 // func salsa2020XORKeyStream(out, in *byte, n uint64, nonce, key *byte)
11 // This needs up to 64 bytes at 360(SP); hence the non-obvious frame size.
12 TEXT ·salsa2020XORKeyStream(SB),0,$456-40 // frame = 424 + 32 byte alignment
64 JB BYTESBETWEEN1AND255
889 JMP BYTESBETWEEN1AND255