Fine-grained PQC (v1.85) build macros: trim ML-DSA/ML-KEM by algorithm and operation#527
Open
aidangarske wants to merge 1 commit into
Open
Fine-grained PQC (v1.85) build macros: trim ML-DSA/ML-KEM by algorithm and operation#527aidangarske wants to merge 1 commit into
aidangarske wants to merge 1 commit into
Conversation
…rithm and operation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fine-grained build macros to trim the TPM 2.0 v1.85 PQC footprint (client lib +
fwTPM server) to the algorithms/operations actually used. Defaults on; opt out
with
WOLFTPM_NO_*(or--enable-mldsa/--enable-mlkemconfigure flags).Existing
--enable-v185builds are unchanged.Build macros
WOLFTPM_V185- full v1.85 (PQC + non-PQC spec code); impliesWOLFTPM_PQCWOLFTPM_PQC- lean ML-DSA/ML-KEM only (new meaning of--enable-pqc)WOLFTPM_MLDSA- ML-DSA familyWOLFTPM_MLDSA_SIGN- ML-DSA sign commandsWOLFTPM_MLDSA_VERIFY- ML-DSA verify commandsWOLFTPM_HASH_MLDSA- pre-hash ML-DSA keysWOLFTPM_MLKEM- ML-KEM familyWOLFTPM_MLKEM_ENCAP- ML-KEM encapsulateWOLFTPM_MLKEM_DECAP- ML-KEM decapsulateWOLFTPM_NO_*- opt-out for each of the aboveConfigure flags
--enable-pqc(lean) /--enable-v185(full)--enable-mldsa[=all|sign-only|verify-only|no]--enable-mlkem[=all|enc|dec|no]--disable-hash-mldsa(both algosnois a configure error; use--disable-pqc)