forked from quic-go/quic-go
update initial salts and test vectors for draft-29
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
var retryAEAD cipher.AEAD
|
||||
|
||||
func init() {
|
||||
var key = [16]byte{0x4d, 0x32, 0xec, 0xdb, 0x2a, 0x21, 0x33, 0xc8, 0x41, 0xe4, 0x04, 0x3d, 0xf2, 0x7d, 0x44, 0x30}
|
||||
var key = [16]byte{0xcc, 0xce, 0x18, 0x7e, 0xd0, 0x9a, 0x09, 0xd0, 0x57, 0x28, 0x15, 0x5a, 0x6c, 0xb9, 0x6b, 0xe1}
|
||||
|
||||
aes, err := aes.NewCipher(key[:])
|
||||
if err != nil {
|
||||
@@ -28,7 +28,7 @@ func init() {
|
||||
|
||||
var retryBuf bytes.Buffer
|
||||
var retryMutex sync.Mutex
|
||||
var retryNonce = [12]byte{0x4d, 0x16, 0x11, 0xd0, 0x55, 0x13, 0xa5, 0x52, 0xc5, 0x87, 0xd5, 0x75}
|
||||
var retryNonce = [12]byte{0xe5, 0x49, 0x30, 0xf9, 0x7f, 0x21, 0x36, 0xf0, 0x53, 0x0a, 0x8c, 0x1c}
|
||||
|
||||
// GetRetryIntegrityTag calculates the integrity tag on a Retry packet
|
||||
func GetRetryIntegrityTag(retry []byte, origDestConnID protocol.ConnectionID) *[16]byte {
|
||||
|
||||
Reference in New Issue
Block a user