From 59c32a692b564bfa91f9799b7e8687488cfd95f5 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 12 Jan 2021 15:32:13 +1100 Subject: [PATCH 1/2] XOR, not exponentitiation --- draft-ietf-quic-tls.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/draft-ietf-quic-tls.md b/draft-ietf-quic-tls.md index 8ca4d880b5..f9a2e05d1b 100644 --- a/draft-ietf-quic-tls.md +++ b/draft-ietf-quic-tls.md @@ -1110,7 +1110,8 @@ mask that might result from a shorter packet number encoding are unused. {{pseudo-hp}} shows a sample algorithm for applying header protection. Removing header protection only differs in the order in which the packet number length -(pn_length) is determined. +(pn_length) is determined (here "^" is used to represent exclusive or, not +exponentiation). ~~~ mask = header_protection(hp_key, sample) From eec9e26e70c55283432f1c11065267c4268db0ed Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 12 Jan 2021 19:44:01 +1100 Subject: [PATCH 2/2] no comparison Co-authored-by: Jana Iyengar --- draft-ietf-quic-tls.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/draft-ietf-quic-tls.md b/draft-ietf-quic-tls.md index f9a2e05d1b..3aeb009b36 100644 --- a/draft-ietf-quic-tls.md +++ b/draft-ietf-quic-tls.md @@ -1110,8 +1110,7 @@ mask that might result from a shorter packet number encoding are unused. {{pseudo-hp}} shows a sample algorithm for applying header protection. Removing header protection only differs in the order in which the packet number length -(pn_length) is determined (here "^" is used to represent exclusive or, not -exponentiation). +(pn_length) is determined (here "^" is used to represent exclusive or). ~~~ mask = header_protection(hp_key, sample)