Skip to content

Conversation

@hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented Jan 10, 2026

The SUPERCOP API is present both in kem.[ch] and in the public header mlkem_native.h. However, the macro definitions clash due to different namespace wrappers.

The SUPERCOP API is merely a convenience for users and not needed in the implementation. This commit removes it from kem.[ch], thereby removing the preprocessor clash with mlkem_native.h.

@hanno-becker hanno-becker requested a review from a team as a code owner January 10, 2026 05:42
@hanno-becker hanno-becker force-pushed the kem_no_supercop branch 4 times, most recently from 98c04d0 to 4d3a3ae Compare January 10, 2026 06:34
@hanno-becker hanno-becker force-pushed the kem_no_supercop branch 2 times, most recently from 89c54a1 to 872413c Compare January 10, 2026 07:11
Copy link
Contributor

@mkannwischer mkannwischer left a comment

Choose a reason for hiding this comment

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

Your sed command was a bit to aggressive and changed the references to the reference implementation. That needs to be undone. Other than that, everything looks good.

The SUPERCOP API is present both in kem.[ch] and in the public
header mlkem_native.h. However, the macro definitions clash due
to different namespace wrappers.

The SUPERCOP API is merely a convenience for users and not needed
in the implementation. This commit removes it from kem.[ch], thereby
removing the preprocessor clash with mlkem_native.h.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker merged commit c96af90 into main Jan 11, 2026
393 checks passed
@hanno-becker hanno-becker deleted the kem_no_supercop branch January 11, 2026 05:31
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