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

Chore: Iterate the Buffered_Computation API #3396

Merged
merged 6 commits into from
Mar 21, 2023
Merged

Conversation

reneme
Copy link
Collaborator

@reneme reneme commented Mar 20, 2023

Pull Request Dependencies

Description

This was inspired by #3387 (comment). Turns out that Buffered_Computation already provided some generic container convenience. I iterated those with the new concepts::resizable_byte_buffer concept and used it accordingly to avoid a copy in the Kyber implemtation.

Comment on lines -98 to -101
secure_vector<uint8_t> final()
{
return final<secure_vector<uint8_t>>();
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note: This is now the default for the templated final() above

@reneme reneme merged commit e8a8776 into master Mar 21, 2023
@randombit randombit deleted the chore/bufcomp_convenience branch March 21, 2023 22:21
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.

2 participants