mirror of
https://github.com/rancher/rke.git
synced 2025-09-17 23:49:06 +00:00
Go mod and vendor changes
This commit is contained in:
5
vendor/golang.org/x/crypto/poly1305/sum_noasm.go
generated
vendored
5
vendor/golang.org/x/crypto/poly1305/sum_noasm.go
generated
vendored
@@ -6,10 +6,7 @@
|
||||
|
||||
package poly1305
|
||||
|
||||
// Sum generates an authenticator for msg using a one-time key and puts the
|
||||
// 16-byte result into out. Authenticating two different messages with the same
|
||||
// key allows an attacker to forge messages at will.
|
||||
func Sum(out *[TagSize]byte, msg []byte, key *[32]byte) {
|
||||
func sum(out *[TagSize]byte, msg []byte, key *[32]byte) {
|
||||
h := newMAC(key)
|
||||
h.Write(msg)
|
||||
h.Sum(out)
|
||||
|
Reference in New Issue
Block a user