diff --git a/draft-irtf-cfrg-cpace.md b/draft-irtf-cfrg-cpace.md index 2c5a8ab..cf7dda9 100644 --- a/draft-irtf-cfrg-cpace.md +++ b/draft-irtf-cfrg-cpace.md @@ -321,15 +321,13 @@ representation of the group element g^y. Additionally, scalar\_pow\_vfy specifie - nil denotes an empty octet string, i.e., len(nil) = 0. -- In this specification use a quotation marks both for general language use and as syntax for octet strings. - - If a character sequence in between quotation marks is considered to be a defined octet string sequence, - we use a preceeding lower-case letter b in front of the quotation marks as, e.g., for the domain separation octet string b"CPace25519". +- In this specification use a quotation marks "" both for general language use (e.g. citations of definitions from other documents) and + as syntax for specifying octet strings as in b"CPace25519". + + We use a preceeding lower-case letter b"" in front of the quotation marks if a character sequence is representing an octet string sequence. I.e. we use the notation for byte string representations as specified by the python programming language. - We do so for clearly - distinguishing octet string representations from places where quotation marks correspond to normal language use (e.g. for citations of definitions from other standard documents). - We use this convention also - for making clear that a single-byte ASCII encoding of the characters is to be used if a leading b"" is prepended to the quotation marks. + This convention also makes it explicit that a single-byte ASCII encoding of the characters is to be used if a leading b"" is prepended to the quotation marks (just as in + python code). - prepend\_len(octet\_string) denotes the octet sequence that is obtained from prepending the length of the octet string to the string itself. The length shall be prepended by using an LEB128 encoding of the length.