Skip to content

Commit db29169

Browse files
committed
List out some notation we use in Conventions and Definitions
We never defined LSB. Also call out that we use a bunch of notation (a || b, A : B, D[k1:k2]) from RFC 9162.
1 parent 0acf655 commit db29169

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

draft-davidben-tls-merkle-tree-certs.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,16 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
216216
document are to be interpreted as described in BCP 14 {{!RFC2119}} {{!RFC8174}}
217217
when, and only when, they appear in all capitals, as shown here.
218218

219-
This document additionally uses the TLS presentation language defined in {{Section 3 of !RFC8446}}.
219+
This document additionally uses the TLS presentation language defined in {{Section 3 of !RFC8446}}, as well as the notation defined in {{Section 2.1.1 of !RFC9162}}.
220220

221221
`U+` followed by four hexadecimal characters denotes a Unicode codepoint, to be encoded in UTF-8 {{!RFC3629}}. `0x` followed by two hexadecimal characters denotes a byte value in the 0-255 range.
222222

223223
`[start, end)`, where `start <= end`, denotes the half-open interval containing integers `x` such that `start <= x < end`.
224224

225+
Given a non-negative integer `n`, `LSB(n)` refers to the least-significant bit of `n`'s binary representation. Equivalently, it is the remainder when `n` is divided by 2.
226+
227+
To *right-shift* a non-negative integer `n` by one bit is to shift all bits in its binary representation by one bit, discarding the least-significant bit. Equivalently, it is the floor of `n` divided by 2.
228+
225229
## Terminology and Roles
226230

227231
This document discusses the following roles:

0 commit comments

Comments
 (0)