...

Source file src/vendor/golang.org/x/crypto/chacha20/chacha_arm64.go

Documentation: vendor/golang.org/x/crypto/chacha20

     1  // Copyright 2018 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 gc && !purego
     6  
     7  package chacha20
     8  
     9  const bufSize = 256
    10  
    11  //go:noescape
    12  func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
    13  
    14  func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    15  	xorKeyStreamVX(dst, src, &c.key, &c.nonce, &c.counter)
    16  }
    17  

View as plain text