-
Notifications
You must be signed in to change notification settings - Fork 26
config.h: Align mldsa-native and mlkem-native config.h #745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mkannwischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash your autogen commit into the previous commit.
Also why is there no MLD_CONFIG_MONOBUILD_KEEP_SHARED_HEADERS in mldsa-native? Could you add that in a separate commit please?
If I see correctly, then MLK_CONFIG_NO_ASM_VALUE_BARRIER is missing in mlkem-native? Could you open a PR there, please? The MLK_CONFIG_NO_ASM_VALUE_BARRIER", # TODO: Add to config? can re removed then.
d4a8a32 to
1ad0e60
Compare
mkannwischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read my previous comment and address it.
1ad0e60 to
4b8582d
Compare
|
Hello, @mkannwischer , thank you for your review!
|
mkannwischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @willieyz. LGTM.
4b8582d to
a4b1b29
Compare
…in config.h Signed-off-by: willieyz <[email protected]>
- This commit add missing MLD_CONFIG_MONOBUILD_KEEP_SHARED_HEADERS and remove following from autogen: `"MLD_CONFIG_NO_ASM_VALUE_BARRIER", # TODO: Add to config?` Signed-off-by: willieyz <[email protected]>
a4b1b29 to
6aad424
Compare
Resolves: config.h: Align the divergence between mldsa-native and mlkem-native in config.h #688
This PR aligns the config.h differences between mldsa-native and mlkem-native.
For example, In mlkem-native, MLK_CONFIG_FILE is the second entry, while in mldsa-native, MLD_CONFIG_FILE was moved to the fifth position and mixed with native-backend configuration macros.
Aligning these discrepancies simplifies future porting and modifications, and helps prevent issues like the missing macros fixed in config.h: Add missing MLD_CONFIG_USE_NATIVE_BACKEND_FIPS202/ARITH #686.
The following discrepancies also had been addressed:
MLD_CONFIG_MONOBUILD_KEEP_SHARED_HEADERSmissing in mldsa-native, fixed.MLK_CONFIG_NO_ASM_VALUE_BARRIERmissing in mlkem-native, fixed in mlkem-naitve PR #1325