Skip to content

Commit

Permalink
Fixed up a few more typos in signature serialization process
Browse files Browse the repository at this point in the history
  • Loading branch information
johngray-dev authored Nov 27, 2024
1 parent 06b990e commit 6b1326b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions draft-ietf-lamps-pq-composite-sigs.md
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ Serialization Process:
mldsaEncodedSignature = ML-DSA.SerializeSignature(mldsaSig)
tradEncodedSignature = Trad.SerializeSignature(tradSig)

3. Combine and output the encoded public key
3. Combine and output the encoded composite signature

bytes = mldsaEncodedSignature || tradEncodedSignature
output bytes
Expand Down Expand Up @@ -829,7 +829,7 @@ Deserialization Process:

(mldsaEncodedSignature, tradEncodedSignature) = bytes

3. Deserialize the constituent public or private keys
3. Deserialize the constituent signature values

mldsaSig = ML-DSA.DeserializeSignature(mldsaEncodedSignature)
tradSig = Trad.DeserializeSignature(tradEncodedSignature)
Expand All @@ -847,7 +847,7 @@ Deserialization Process:
~~~
{: #alg-composite-deserialize-sig title="Composite DeserializeSignatureValue(bytes)"}

## ML-DSA public key, private key and Signature sizes for serialization and deserialization
## ML-DSA public key, private key and signature sizes for serialization and deserialization

As noted above in the public key, private key and CompositeSignatureValue
serialization and deserialization methods, ML-DSA uses fixed-length values for
Expand All @@ -861,7 +861,7 @@ fixed-length prefix so the components can be correctly deserialized.
The following table shows the fixed length values in bytes for the public, private and signature
sizes for ML-DSA which can be used to deserialzie the components.

| Algorithm | Public Key | Private Key | Signature |
| Algorithm | Public key | Private key | Signature |
| ----------- | ----------- | ----------- | ----------- |
| ML-DSA-44 | 1312 | 32 | 2420 |
| ML-DSA-65 | 1952 | 32 | 3309 |
Expand Down

0 comments on commit 6b1326b

Please sign in to comment.