Skip to content

Prepare for v5.9.2 release#134

Open
mjdemilliano wants to merge 16 commits into
wolfSSL:masterfrom
mjdemilliano:prepare-v5.9.2
Open

Prepare for v5.9.2 release#134
mjdemilliano wants to merge 16 commits into
wolfSSL:masterfrom
mjdemilliano:prepare-v5.9.2

Conversation

@mjdemilliano

Copy link
Copy Markdown
Contributor

No description provided.

In the newer wolfSSL signing and verifying without context is
not available unless it is explicitly enabled.

This change modifies the Python binding and test suite to
accommodate this.
Smaller authentication tags may not be supported by the library.
This fix makes the test work for the default case that tags
should be minimum 12 bytes in size.
Read minimum supported tag size from settings and make the
test less ambiguous.
Also detect WOLFSSL_DILITHIUM_FIPS204_DRAFT as implying no-ctx support,
mirroring the logic in dilithium.h. Add ML_DSA_NO_CTX to the default
features dict for consistency with peer flags.
- Test signing with empty context
- Test deterministic signing with context
Test response by library explicitly when called with unsupported
number of tag bytes.

@sebastian-carpenter sebastian-carpenter 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.

One minor nitpick:

INFO-3: Typo "ML-DSDA" in comment [NIT] (style)
File: scripts/build_ffi.py:382
Function: get_features
Confidence: High

The comment reads "Determine if support for ML-DSDA signing & verification without context has been enabled." — "ML-DSDA" should be "ML-DSA".

Code:
# Determine if support for ML-DSDA signing & verification without context has been enabled.

Recommendation: Fix the typo.

Besides that the dilithium function signatures should be updated to the mldsa ones in the future. It looks like macro's reassign them right now so it shouldn't be blocking.

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.

4 participants