Skip to content

Conversation

@mkannwischer
Copy link
Contributor

@mkannwischer mkannwischer marked this pull request as ready for review December 29, 2025 02:35
@mkannwischer mkannwischer requested a review from a team as a code owner December 29, 2025 02:35
@mkannwischer mkannwischer force-pushed the sign-stack-yh-3 branch 3 times, most recently from c103d48 to be25453 Compare December 29, 2025 05:40
Copy link
Contributor

@hanno-becker hanno-becker left a comment

Choose a reason for hiding this comment

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

I believe that a separate config option is the right approach for now. We will hopefully be able to shift some things in the default config once we overcome CBMC issues, but other aspects such as the ad-hoc matrix generation will always remain a trade-off between performance and RAM usage.

Only some smaller comments regarding documentation and the Makefile.

Copy link
Contributor

@hanno-becker hanno-becker left a comment

Choose a reason for hiding this comment

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

I forgot: Please clearly state in the relevant places that MLK_CONFIG_REDUCE_RAM is not covered by CBMC proof.

This commit is the second commit working towards bringing down the memory
consumption of signature_internal. It combines the y and h buffer as those
lifetime does not overlap.

We work around diffblue/cbmc#8813 by using a struct
by default and only using a union if MLD_CONFIG_REDUCE_RAM is used.

Signed-off-by: Matthias J. Kannwischer <[email protected]>
Copy link
Contributor

@hanno-becker hanno-becker left a comment

Choose a reason for hiding this comment

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

Thanks @mkannwischer !

@hanno-becker hanno-becker merged commit e9175c6 into main Dec 30, 2025
651 of 652 checks passed
@hanno-becker hanno-becker deleted the sign-stack-yh-3 branch December 30, 2025 07:00
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