Skip to content

Add HQC, FrodoKEM, Falcon, Classic McEliece and BIKE to the cryptography registry - #1264

Merged
stevespringett merged 3 commits into
CycloneDX:masterfrom
Johnbjoseph-cybersec:jbj/pqc-five-families
Dec 4, 2026
Merged

stevespringett merged 3 commits into
CycloneDX:masterfrom
Johnbjoseph-cybersec:jbj/pqc-five-families

Conversation

@Johnbjoseph-cybersec

@Johnbjoseph-cybersec Johnbjoseph-cybersec commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

As discussed in #1214, this adds HQC, FrodoKEM, Falcon, Classic McEliece and BIKE to the cryptography registry and to algorithmFamiliesEnum. It is registry-only, like #1219, and has no status marker.

  • HQC: the team's v5.1 specification, which names HQC-1, HQC-3 and HQC-5. The round 4 names hqc-128, hqc-192 and hqc-256 are not included because the specification has changed since then.
  • FrodoKEM: ISO/IEC 18033-2:2006/Amd 2:2026 and the team's Preliminary Standardization Proposal (2025-09-29), which names all 12 parameter sets.
  • Falcon: the round 3 specification v1.2, which names Falcon-512 and Falcon-1024. FN-DSA is left out until FIPS 206 is published, since it may differ from Falcon; it can then be added as its own family (review below).
  • Classic McEliece: the same ISO amendment, the team specification (five sets, each with an f form) and the team's separate pc specification, which defines the pc variant but names no parameter sets. The pc and pcf names cover 460896 and up, the sets the team's ISO page lists. mceliece348864 and mceliece348864f come from the main specification; the ISO page does not list them.
  • BIKE: the round 4 submission hosted by NIST. NIST did not select BIKE (IR 8545). The submission says Level 1, 3 and 5; BIKE-L1, BIKE-L3 and BIKE-L5 are the liboqs names. This is the last commit on its own, so it can be dropped.

I have not read the ISO text. The statements that the amendment covers FrodoKEM and Classic McEliece come from the two teams' websites. NIST IR 8547 (October 2026) says the standard for HQC is still being developed, so those names may change.

Testing

I validated one minimal CycloneDX 1.7 BOM per family against bom-1.7.schema.json:

  • Before: all five fail with algorithmFamily must be equal to one of the allowed values.
  • After: all five pass. With only the first commit, the other four pass and BIKE fails.

This checks family names; the schema does not enforce variant patterns. cryptography-defs.json validates against its schema before and after.

The new valid-cryptography-pqc-families-1.7 test BOM (JSON, XML, textproto) has one component per family. npm test fails on it without these registry entries and passes with them; mvn clean test passes (771 tests). XML and protobuf take algorithmFamily as a plain string, so only the JSON copy checks the names. The textproto copy passes buf convert against bom-1.7.proto.

I edited the enum by hand. Running the generator would also add ANSI-KDF, RSA-X931, SP800-56C, SSH-KDF and TLS-PRF, which are already missing from it and unrelated to this change.

fixes #1263

John B Joseph, Co-founder & CPTO, Purplecop Security

A CycloneDX BOM that meets one of these algorithms has no family to name
it, because algorithmFamily only accepts registered families.

Add the four families and their enum entries. FrodoKEM and Classic
McEliece reference ISO/IEC 18033-2:2006/Amd 2:2026 and the teams'
documents, including the separate Classic McEliece pc definition. NIST
has not published a standard for HQC or FN-DSA, so HQC references NIST
IR 8545 and the team specification, and FN-DSA references NIST IR 8413.

Add a 1.7 test BOM in JSON, XML and protobuf text format that uses the
four families, so the enum entries are covered by the tests.

Signed-off-by: John B Joseph <223714458+Johnbjoseph-cybersec@users.noreply.github.com>
NIST IR 8545 records that BIKE was not selected for standardization, so
the family references its round 4 submission. It is included so that
inventories can name existing deployments.

It also adds BIKE to the 1.7 test BOM.

This is a separate commit so it can be dropped without affecting the
other families.

Signed-off-by: John B Joseph <223714458+Johnbjoseph-cybersec@users.noreply.github.com>
@Johnbjoseph-cybersec
Johnbjoseph-cybersec requested a review from a team as a code owner December 1, 2026 07:15

@bhess bhess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @Johnbjoseph-cybersec for this PR. FrodoKEM and BIKE look good to me.

A few comments on the others:

I'd personally hold off adding FN-DSA because it's not specified yet. NIST IR 8413 is not a specification document, and draft-ietf-cose-falcon-05 defines the names by referring to FIPS 206, which isn't published yet. Instead I'd suggest to add Falcon (Falcon-512, Falcon-1024) with the round 3 specification https://falcon-sign.info/falcon.pdf. FN-DSA may still differ from Falcon, like ML-KEM did from Kyber, so we can add it as its own family once FIPS 206 is out.

For HQC I'd drop NIST IR 8545. It's a status report, not a specification, and it uses the round 4 names hqc-128/192/256 rather than HQC-1/3/5. The v5.1 specification is enough.

For Classic McEliece, the pc specification doesn't name any parameter sets, and the team's ISO page lists the pc names only from mceliece460896 on. Do you have a source for mceliece348864pc and mceliece348864pcf? Otherwise I'd drop these two, i.e. mceliece(460896|6688128|6960119|8192128)pc[f].

@Johnbjoseph-cybersec Johnbjoseph-cybersec changed the title Add HQC, FrodoKEM, FN-DSA, Classic McEliece and BIKE to the cryptography registry Add HQC, FrodoKEM, Falcon, Classic McEliece and BIKE to the cryptography registry Dec 2, 2026
@Johnbjoseph-cybersec

Johnbjoseph-cybersec commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks for the review. I've pushed 955c9cb with all three changes.

  • FN-DSA → Falcon: the family is now Falcon with Falcon-(512|1024), citing the round 3 specification (v1.2). I agree FN-DSA should be its own family once FIPS 206 is published. The enum and the test BOM now use Falcon too.
  • HQC: I've dropped NIST IR 8545. The v5.1 specification is the only reference left.
  • Classic McEliece: you're right. The pc specification doesn't name any parameter sets, and I don't have a source for mceliece348864pc or mceliece348864pcf. The pc pattern is now mceliece(460896|6688128|6960119|8192128)pc[f]. That matches the team's ISO page.

npm test and mvn clean test (771 tests) pass. The test BOM fails without Falcon in the enum. I've updated the PR title and description to match.

Prepared with AI assistance and reviewed before posting.

John B Joseph, Co-founder & CPTO, Purplecop Security

- Replace FN-DSA with Falcon (Falcon-512, Falcon-1024) from the round 3
  specification v1.2; FN-DSA can be added once FIPS 206 is published.
- HQC: drop NIST IR 8545, a status report that uses the round 4 names.
- Classic McEliece: limit the pc and pcf forms to 460896 and up, the sets
  the team's ISO page lists.

Signed-off-by: John B Joseph <223714458+Johnbjoseph-cybersec@users.noreply.github.com>

@bhess bhess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @Johnbjoseph-cybersec, LGTM!

@bhess bhess added the cap: cryptography-registry Capability: Cryptography Registry label Dec 3, 2026
@bhess

bhess commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

@stevespringett this looks good to go, perhaps check if the enums need added explicitly or if this is done automatically.

@Johnbjoseph-cybersec

Copy link
Copy Markdown
Contributor Author

On the enum question: this PR already adds the five families to algorithmFamiliesEnum in schema/cryptography-defs.schema.json, with Falcon in place of FN-DSA since the review changes.

I edited the enum by hand rather than running the generator. Running it would also add ANSI-KDF, RSA-X931, SP800-56C, SSH-KDF and TLS-PRF, which are missing from the enum today and are unrelated to this change. The JSON test BOM fails schema validation without the new enum values, so the tests cover them.

If you would prefer the enum regenerated in full, that would sit better in a separate change.

Prepared with AI assistance.

John B Joseph, Co-founder & CPTO, Purplecop Security

@stevespringett
stevespringett merged commit e1e2670 into CycloneDX:master Dec 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cap: cryptography-registry Capability: Cryptography Registry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add HQC, FrodoKEM, FN-DSA, Classic McEliece and BIKE to the cryptography registry

3 participants