Skip to content
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

fix: NTT input is const #444

Merged
merged 1 commit into from
Mar 24, 2024
Merged

fix: NTT input is const #444

merged 1 commit into from
Mar 24, 2024

Conversation

yshekel
Copy link
Collaborator

@yshekel yshekel commented Mar 24, 2024

Make NTT input const pointer so that polynomial API implementation can call it with internal memory pointer.

Copy link
Contributor

@HadarIngonyama HadarIngonyama left a comment

Choose a reason for hiding this comment

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

seems fine, this doesn't affect the ability to perform inplace NTT right?

@yshekel
Copy link
Collaborator Author

yshekel commented Mar 24, 2024

seems fine, this doesn't affect the ability to perform inplace NTT right?

Right. In that case the output pointer is the same (as input) but passed mutable so can write to the memory.

@yshekel yshekel merged commit 919ff42 into main Mar 24, 2024
21 checks passed
@yshekel yshekel deleted the yshekel/ntt_const_input branch March 24, 2024 14:26
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.

None yet

3 participants