-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
general OQS update #65
Conversation
@johngray-dev @ounsworth @dghgit @CBonnell What is the "agreed-upon" merge strategy of PRs in this repo? Would anyone (of you?) want to check this (against your implementations?) before merging or should I just merge as-is? It would be good if new contributions (like yours, @dghgit) would be able to use this latest OQS data... |
I've had a look - it looks like OQS isn't up to date with https://github.com/pq-crystals/dilithium/tree/standard - the difference is pretty small the length of tr has increased, but it does change both the keys and signatures. The change was made about two weeks ago. It looks like an issue has already been raised for this. @johngray-dev I think they previously changed OIDs on this, so they might again. We won't be changing the OID for kyber - it needs to be whatever the NIST official standard is (a failure to do so may result in patent trolling in the future (sigh)). |
Thanks @dghgit for taking a look!
This is expected as (lib)oqs is not following all upstream changes immediately (mistakes are not unheard of :) But your comment has me point some OQS colleagues to this issue as this may (IMO should) impact the OQS release strategy: All that said, I do expect the IBM team to change OIDs due to this, so this PR therefore seems valid as per the OID encoded. |
Thanks for the confirmation. I've closed my pull request, I'll introduce a new update when the OIDs for Dilithium are updated. |
I don't want to have the ARM and Intel builds of the same library to be incompatible. If we don't have the ARM versions we could go with just unoptimized C code on ARM until it's available. But I think actually the ARM code will come rather quickly, so we may not have to wait too long. |
Me neither. But I don't see how this can happen: The new code will introduce a completely new (algorithm) name and OID, right? Once it's been added, it should work on all platforms (via generic code) and optimizations (will work just faster but producing the same KATs) later as and when available. Dilithium either ceases to exist or continues with old code and old OID but its use should end, no? |
True, assuming we introduce a new algorithm name for the FIPS versions. And if we do, then indeed we would presumably be dropping the things named Kyber and Dilithium right now as well. |
|
We might need to wait in case NIST do what they did with SHA-3, there was a last minute tweak, there seems to be a lot of interest in trying these algorithms out, I think a move to "production names" might be one temptation too far. Speaking of tweaks, just an additional heads up, the draft SP 800-204 included a comment in Section 1.3.2 about a change to c~ as well as tr. This was also queried on the PQC mailing list last night. The change only effects signatures. This change has now been made in https://github.com/pq-crystals/dilithium/tree/standard Bouncy Castle has also replicated this change and pushed it to our github repositories for Java and C#. It's also now in BC 1.77 beta 5. |
@johngray-dev any objections to merging this as-is -- so it can be used in #69 (should there be interest for that)? |
No objects to Merging this as is so it can be used with #69.
John Gray
From: Michael Baentsch ***@***.***>
Sent: Tuesday, August 29, 2023 11:07 AM
To: IETF-Hackathon/pqc-certificates ***@***.***>
Cc: John Gray ***@***.***>; Mention ***@***.***>
Subject: [EXTERNAL] Re: [IETF-Hackathon/pqc-certificates] general OQS update (PR #65)
@johngray-dev any objections to merging this as-is -- so it can be used in #69 (should there be interest for that)? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. Message
@johngray-dev<https://urldefense.com/v3/__https:/github.com/johngray-dev__;!!FJ-Y8qCqXTj2!ZpjHHzWsYU1sazGeTQD1IhyL0BXmPJbbtMDygbNG-ij2hy_vM5fMAJJOR3wAQNMqEFBUcFAnc-HuCcjupoG7CbCU37eRA-M$> any objections to merging this as-is -- so it can be used in #69<https://urldefense.com/v3/__https:/github.com/IETF-Hackathon/pqc-certificates/pull/69__;!!FJ-Y8qCqXTj2!ZpjHHzWsYU1sazGeTQD1IhyL0BXmPJbbtMDygbNG-ij2hy_vM5fMAJJOR3wAQNMqEFBUcFAnc-HuCcjupoG7CbCUeHxp8q8$> (should there be interest for that)?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/IETF-Hackathon/pqc-certificates/pull/65*issuecomment-1697629591__;Iw!!FJ-Y8qCqXTj2!ZpjHHzWsYU1sazGeTQD1IhyL0BXmPJbbtMDygbNG-ij2hy_vM5fMAJJOR3wAQNMqEFBUcFAnc-HuCcjupoG7CbCUaubBYz0$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ANFGAWPR625DOWJ2H7IRN4LXXYASRANCNFSM6AAAAAA3GPEVXU__;!!FJ-Y8qCqXTj2!ZpjHHzWsYU1sazGeTQD1IhyL0BXmPJbbtMDygbNG-ij2hy_vM5fMAJJOR3wAQNMqEFBUcFAnc-HuCcjupoG7CbCU1TsKpTM$>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
Any email and files/attachments transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. If this message has been sent to you in error, you must not copy, distribute or disclose of the information it contains. Please notify Entrust immediately and delete the message from your system.
|
General update to "everything OQS":
Open issues:
- Collating the compatMatrices results into overall results file: Is there a script for this @johngray-dev ?