Closed ounsworth closed 1 month ago
Group decided to look at this in more detail post IETF 120.
The optimization that I would like us to take advantage of is to more closely match the public key encoding from
https://datatracker.ietf.org/doc/html/draft-ietf-lamps-dilithium-certificates-03#name-asn1-module
We should check the DER encoding of the Dilithium public key within a composite public key against the sample in the dilithium-certs draft. The question is whether the composite is adding an extra OCTET STRING tag which is not strictly necessary.
This was done based on Carl Wallace's comments and subsequent updates to the ASN.1 module.
We defined the pk-CompositeSignature information object class so that the rest of the ASN.1 module could be more compact, but it might be limiting optimization since this draft is now ML-DSA only. Perhaps we should remove this and and just directly define the PUBLIC-KEY structure for each public key type?
See, for example, the definition from draft-ietf-lamps-dilithium-certificates-03