Skip to content

Add hqc-kem#281

Merged
tarcieri merged 12 commits into
RustCrypto:masterfrom
mikelodder7:master
May 29, 2026
Merged

Add hqc-kem#281
tarcieri merged 12 commits into
RustCrypto:masterfrom
mikelodder7:master

Conversation

@mikelodder7
Copy link
Copy Markdown
Contributor

I temporarily added the hybrid-array-patch to prove it works. Once the new hybrid-array has been updated then we can remove this.

Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
@tarcieri
Copy link
Copy Markdown
Member

Here's a hybrid-array release PR: RustCrypto/hybrid-array#196

Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
@mikelodder7
Copy link
Copy Markdown
Contributor Author

Here's a hybrid-array release PR: RustCrypto/hybrid-array#196

Thanks. Looks like everything is passing now. Once it published I'll update this PR.

Signed-off-by: Mike Lodder <redmike7@gmail.com>
Copy link
Copy Markdown
Contributor

@tob-scott-a tob-scott-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran ct-analyzer on the compiler output and observed only false positives.

@tarcieri
Copy link
Copy Markdown
Member

@mikelodder7 sorry for the belated review, but it looks like it needs a rebase

Signed-off-by: Mike Lodder <redmike7@gmail.com>
Bumps the pkcs8 version constraint from 0.11.0-rc.11 to 0.11

Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
Signed-off-by: Mike Lodder <redmike7@gmail.com>
@mikelodder7
Copy link
Copy Markdown
Contributor Author

@mikelodder7 sorry for the belated review, but it looks like it needs a rebase

done

Comment thread hqc-kem/src/pkcs8_impl.rs
Comment on lines +36 to +42
// ---------------------------------------------------------------------------
// Provisional OIDs for HQC-KEM
//
// FIPS 207 does not yet have assigned OIDs. These are provisional placeholders
// in the NIST KEM arc (2.16.840.1.101.3.4.4.x). ML-KEM uses .1/.2/.3.
// These WILL change when NIST assigns official OIDs.
// ---------------------------------------------------------------------------
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are these OIDs coming from, or for that matter is there a document or GitHub repo actually defining PKCS#8 for use with HQC?

Copy link
Copy Markdown
Member

@tarcieri tarcieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to declare review bankruptcy on this. I'm generally unfamiliar with quite a bit of the math involved here. I had a look through but there's not a lot I feel I can have helpful input on, and this PR has been open for several months.

I made a note about the PKCS#8 support: it may not make sense to have it until there is at least a draft document describing its usage with HQC. But I'll go ahead and land this for now and we can follow up on that.

@tarcieri tarcieri merged commit 2c66bf6 into RustCrypto:master May 29, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants