mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 16:52:26 -05:00
[chore]: Bump golang.org/x/net from 0.29.0 to 0.30.0 (#3402)
This commit is contained in:
parent
bd1866ad8a
commit
33bd97a535
44 changed files with 679 additions and 252 deletions
4
vendor/golang.org/x/crypto/sha3/shake.go
generated
vendored
4
vendor/golang.org/x/crypto/sha3/shake.go
generated
vendored
|
|
@ -85,9 +85,9 @@ func newCShake(N, S []byte, rate, outputLen int, dsbyte byte) ShakeHash {
|
|||
|
||||
// leftEncode returns max 9 bytes
|
||||
c.initBlock = make([]byte, 0, 9*2+len(N)+len(S))
|
||||
c.initBlock = append(c.initBlock, leftEncode(uint64(len(N)*8))...)
|
||||
c.initBlock = append(c.initBlock, leftEncode(uint64(len(N))*8)...)
|
||||
c.initBlock = append(c.initBlock, N...)
|
||||
c.initBlock = append(c.initBlock, leftEncode(uint64(len(S)*8))...)
|
||||
c.initBlock = append(c.initBlock, leftEncode(uint64(len(S))*8)...)
|
||||
c.initBlock = append(c.initBlock, S...)
|
||||
c.Write(bytepad(c.initBlock, c.rate))
|
||||
return &c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue