mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 00:42:24 -05:00 
			
		
		
		
	[chore]: Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3080)
This commit is contained in:
		
					parent
					
						
							
								1a66ea8998
							
						
					
				
			
			
				commit
				
					
						a81455e81c
					
				
			
		
					 32 changed files with 91 additions and 1420 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/golang.org/x/crypto/blake2s/blake2s.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/golang.org/x/crypto/blake2s/blake2s.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -16,9 +16,10 @@ | |||
| // | ||||
| // BLAKE2X is a construction to compute hash values larger than 32 bytes. It | ||||
| // can produce hash values between 0 and 65535 bytes. | ||||
| package blake2s // import "golang.org/x/crypto/blake2s" | ||||
| package blake2s | ||||
| 
 | ||||
| import ( | ||||
| 	"crypto" | ||||
| 	"encoding/binary" | ||||
| 	"errors" | ||||
| 	"hash" | ||||
|  | @ -55,6 +56,13 @@ func Sum256(data []byte) [Size]byte { | |||
| // and BinaryUnmarshaler for state (de)serialization as documented by hash.Hash. | ||||
| func New256(key []byte) (hash.Hash, error) { return newDigest(Size, key) } | ||||
| 
 | ||||
| func init() { | ||||
| 	crypto.RegisterHash(crypto.BLAKE2s_256, func() hash.Hash { | ||||
| 		h, _ := New256(nil) | ||||
| 		return h | ||||
| 	}) | ||||
| } | ||||
| 
 | ||||
| // New128 returns a new hash.Hash computing the BLAKE2s-128 checksum given a | ||||
| // non-empty key. Note that a 128-bit digest is too small to be secure as a | ||||
| // cryptographic hash and should only be used as a MAC, thus the key argument | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue