Skip to content

Commit

Permalink
Define ctx is the empty string
Browse files Browse the repository at this point in the history
ctx = empty string
  • Loading branch information
csosto-pk authored Dec 12, 2024
1 parent be15c14 commit 2c3e514
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions draft-ietf-lamps-dilithium-certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ The OIDs are:
~~~

The contents of the parameters component for each algorithm MUST be
absent.
absent. The ctx value used in the ML-DSA Signing and Verification
{{FIPS204}} is the empty string

# ML-DSA Signatures in PKIX

Expand Down Expand Up @@ -437,9 +438,9 @@ External operations:
~~~
ExternalMu-ML-DSA.Prehash(pk, M, ctx):

if |ctx| > 255 then
if |ctx| > 0 then
return error # return an error indication if the context string is
# too long
# not the empty string
end if

M' = BytesToBits(IntegerToBytes(0, 1) ∥ IntegerToBytes(|ctx|, 1)
Expand Down

0 comments on commit 2c3e514

Please sign in to comment.