-
Notifications
You must be signed in to change notification settings - Fork 467
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
ML-DSA macro definition error #1797
Comments
Sorry for the misunderstanding. The compilation errors I mentioned are not related to compiling the liboqs library itself, but rather occur when using the ML-DSA algorithm provided by the liboqs library. I was writing a test program that calls all algorithms in liboqs, and I encountered an undefined macro error while trying to call some ML-DSA algorithms (due to modifying code from a template). Specifically, the macro |
Hi @EverTear, thanks for this report! |
Thanks @EverTear ! |
Describe the bug
Several macros in the sig_ml_dsa.h header file are incorrectly defined as kem types.
To Reproduce
Steps to reproduce the behavior:
#define OQS_SIG_ml_dsa_44_length_ciphertext OQS_SIG_ml_dsa_44_ipd_length_ciphertext
I think the macro definition here should be
#define OQS_SIG_ml_dsa_44_length_signature OQS_SIG_ml_dsa_44_ipd_length_signature
Similarly, there are many similar macro definition errors below.
Expected behavior
At present, the definition of these macros will cause compilation errors. After modification, those algorithms of ML-DSA should be able to be used normally.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: