mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	go.mod: golang.org/x/crypto v0.1.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/golang.org/x/crypto/chacha20/chacha_generic.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/golang.org/x/crypto/chacha20/chacha_generic.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -12,7 +12,7 @@ import (
 | 
			
		||||
	"errors"
 | 
			
		||||
	"math/bits"
 | 
			
		||||
 | 
			
		||||
	"golang.org/x/crypto/internal/subtle"
 | 
			
		||||
	"golang.org/x/crypto/internal/alias"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
@@ -189,7 +189,7 @@ func (s *Cipher) XORKeyStream(dst, src []byte) {
 | 
			
		||||
		panic("chacha20: output smaller than input")
 | 
			
		||||
	}
 | 
			
		||||
	dst = dst[:len(src)]
 | 
			
		||||
	if subtle.InexactOverlap(dst, src) {
 | 
			
		||||
	if alias.InexactOverlap(dst, src) {
 | 
			
		||||
		panic("chacha20: invalid buffer overlap")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/crypto/chacha20/chacha_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/crypto/chacha20/chacha_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -15,6 +15,7 @@ const bufSize = 256
 | 
			
		||||
 | 
			
		||||
// xorKeyStreamVX is an assembly implementation of XORKeyStream. It must only
 | 
			
		||||
// be called when the vector facility is available. Implementation in asm_s390x.s.
 | 
			
		||||
//
 | 
			
		||||
//go:noescape
 | 
			
		||||
func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user