From 8335b73ec9cddf962c4ba83f0450d55266c4a1df Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Mon, 14 Sep 2020 15:09:02 +1000 Subject: [PATCH] Update samples for -31, no salt change --- draft-ietf-quic-tls.md | 14 +++++++------- protection-samples.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/draft-ietf-quic-tls.md b/draft-ietf-quic-tls.md index 8c8446678b..6e1e12ea32 100644 --- a/draft-ietf-quic-tls.md +++ b/draft-ietf-quic-tls.md @@ -2132,7 +2132,7 @@ header = cdff00001d088394c8f03e5157080000449e9cdb990b The resulting protected packet is: ~~~ -cdff00001d088394c8f03e5157080000 449e9cdb990bfb66bc6a93032b50dd89 +cdff00001f088394c8f03e5157080000 449e9cdb990bfb66bc6a93032b50dd89 73972d149421874d3849e3708d71354e a33bcdc356f3ea6e2a1a1bd7c3d14003 8d3e784d04c30a2cdb40c32523aba2da fe1c1bf3d27a6be38fe38ae033fbb071 3c1c73661bb6639795b42b97f77068ea d51f11fbf9489af2501d09481e6c64d4 @@ -2169,7 +2169,7 @@ edb42d2af89a9c9122b07acbc29e5e72 2df8615c343702491098478a389c9872 a10b0c9875125e257c7bfdf27eef4060 bd3d00f4c14fd3e3496c38d3c5d1a566 8c39350effbc2d16ca17be4ce29f02ed 969504dda2a8c6b9ff919e693ee79e09 089316e7d1d89ec099db3b2b268725d8 88536a4b8bf9aee8fb43e82a4d919d48 -1802771a449b30f3fa2289852607b660 +395781bc0a3e8125b4dd506ca025eb37 ~~~ @@ -2204,11 +2204,11 @@ header = caff00001d0008f067a5502a4262b5004074aaf2 The final protected packet is then: ~~~ -c7ff00001d0008f067a5502a4262b500 4075fb12ff07823a5d24534d906ce4c7 +c7ff00001f0008f067a5502a4262b500 4075fb12ff07823a5d24534d906ce4c7 6782a2167e3479c0f7f6395dc2c91676 302fe6d70bb7cbeb117b4ddb7d173498 44fd61dae200b8338e1b932976b61d91 e64a02e9e0ee72e3a6f63aba4ceeeec5 -be2f24f2d86027572943533846caa13e 6f163fb257473dcca25396e88724f1e5 -d964dedee9b633 +be2f24f2d86027572943533846caa13e 6f163fb257473d76f0e78487aca6427b +da2e7e70a7ee48 ~~~ @@ -2220,8 +2220,8 @@ connection ID value of 0x8394c8f03e515708, but that value is not included in the final Retry packet: ~~~ -ffff00001d0008f067a5502a4262b574 6f6b656ed16926d81f6f9ca2953a8aa4 -575e1e49 +ffff00001f0008f067a5502a4262b574 6f6b656ec70ce5de430b4bdb7df1a383 +3a75f986 ~~~ diff --git a/protection-samples.js b/protection-samples.js index 9bfe17a93c..d9e6c88978 100755 --- a/protection-samples.js +++ b/protection-samples.js @@ -17,7 +17,7 @@ const SHA256 = 'sha256'; const AES_GCM = 'aes-128-gcm'; const AES_ECB = 'aes-128-ecb'; -const draft_version = 29; +const draft_version = 31; const version = 'ff0000' + draft_version.toString(16); function chunk(s, n) {