forked from quic-go/quic-go
update the label used for the key update derivation
This commit is contained in:
@@ -110,7 +110,7 @@ func (a *updatableAEAD) rollKeys(now time.Time) {
|
||||
}
|
||||
|
||||
func (a *updatableAEAD) getNextTrafficSecret(hash crypto.Hash, ts []byte) []byte {
|
||||
return qtls.HkdfExpandLabel(hash, ts, []byte{}, "traffic upd", hash.Size())
|
||||
return qtls.HkdfExpandLabel(hash, ts, []byte{}, "quic ku", hash.Size())
|
||||
}
|
||||
|
||||
// For the client, this function is called before SetWriteKey.
|
||||
|
||||
Reference in New Issue
Block a user