Any reason why we won’t put MLKEM in front of ECDHE key share for all the curves both on the wire and in the naming convention?

That would be consistent and harder to get wrong.

Or would this make an implementation of hybrid MLKEM and SecP256r1 non FIPS certified in the case of using certified SecP2561r1 crypto backend and not yet certified MLKEM?


-yaroslav

On 17 Oct 2024, at 13:18, Bas Westerbaan <bas=40cloudflare....@dmarc.ietf.org> wrote:


The number of people that actually implement these hybrid KEMs is much smaller than the number of people that need to make a choice based on their name. How do we explain that one is called MLKEM768X25519 and the other SecP256r1MLKEM768? That'll cause more confusion worldwide over the coming decades, than the few implementers who confuse the order on the wire this year.


On Thu, Oct 17, 2024 at 10:54 AM CJ Tjhai <c...@post-quantum.com> wrote:
Personally, I prefer a name change to MLKEM768X25519.

Cheers,
CJ

On Thu, 17 Oct 2024 at 08:57, Kris Kwiatkowski <k...@amongbytes.com> wrote:

Yes, we switched the order. We want MLKEM before X25519, as that presumably can be FIPS-certified.
According to https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Cr2.pdf, section 2,
the shared secret from the FIPS-approved algorithm must precede the one that is not approved. X25519
is not FIPS-approved hence MLKEM goes first. P-256 is FIPS-approved.
 
The ordering was mentioned a few times, and there was some discussion on github [1] about it. But,
maybe the conclusion should be just to change the name X25519MLKEM768 -> MLKEM768X25519 (any opinion?)
That would be just a name change, so the code point value should stay the same.

Cheers,
Kris

[1] https://github.com/open-quantum-safe/oqs-provider/issues/503#issuecomment-2349478942

On 17/10/2024 08:24, Watson Ladd wrote:
Did we really switch the order gratuitously on the wire between them?

On Thu, Oct 17, 2024 at 12:02 AM CJ Tjhai
<cjt=40post-quantum....@dmarc.ietf.org> wrote:
Hello,
The X25519MLKEM768 scheme defined in the document is a concatenation of MLKEM768 and X25519, why is it not named MLKEM768X25519 instead?

For SecP256r1MLKEM768, the naming makes sense since it's a concatenation of P256 and MLKEM768.

Apologies if this has already been asked before.

Cheers,
CJ



________________________________
PQ Solutions Limited (trading as ‘Post-Quantum’) is a private limited company incorporated in England and Wales with registered number 06808505.

This email is meant only for the intended recipient. If you have received this email in error, any review, use, dissemination, distribution, or copying of this email is strictly prohibited. Please notify us immediately of the error by return email and please delete this message from your system. Thank you in advance for your cooperation.

For more information about Post-Quantum, please visit www.post-quantum.com.

In the course of our business relationship, we may collect, store and transfer information about you. Please see our privacy notice at www.post-quantum.com/privacy-policy/ to learn about how we use this information.
_______________________________________________
TLS mailing list -- tls@ietf.org
To unsubscribe send an email to tls-le...@ietf.org

    


PQ Solutions Limited (trading as ‘Post-Quantum’) is a private limited company incorporated in England and Wales with registered number 06808505.
 
This email is meant only for the intended recipient. If you have received this email in error, any review, use, dissemination, distribution, or copying of this email is strictly prohibited. Please notify us immediately of the error by return email and please delete this message from your system. Thank you in advance for your cooperation.

For more information about Post-Quantum, please visit www.post-quantum.com.

In the course of our business relationship, we may collect, store and transfer information about you. Please see our privacy 
notice at www.post-quantum.com/privacy-policy/ to learn about how we use this information.
_______________________________________________
TLS mailing list -- tls@ietf.org
To unsubscribe send an email to tls-le...@ietf.org
_______________________________________________
TLS mailing list -- tls@ietf.org
To unsubscribe send an email to tls-le...@ietf.org

Reply via email to