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

FIPS202: Add shake128[x4]_init() to FIPS202 API #686

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

hanno-becker
Copy link
Contributor

This commit extends the FIPS202 API by an explicit init function. This is not used by the FIPS202 implementation shipped with mlkem-native itself, but may be handy for consumers that wish to provide their own FIPS202 implementation. It also makes the API more symmetric, since we already have a xxx_release() API.

Suggested by @bhess in open-quantum-safe/liboqs#2041

This commit extends the FIPS202 API by an explicit init function.
This is not used by the FIPS202 implementation shipped with mlkem-native
itself, but may be handy for consumers that wish to provide their own
FIPS202 implementation. It also makes the API more symmetric, since we
already have a `xxx_release()` API.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker marked this pull request as ready for review January 22, 2025 21:16
@hanno-becker hanno-becker requested review from a team and mkannwischer January 22, 2025 21:16
@hanno-becker hanno-becker merged commit 4f221db into main Jan 23, 2025
125 checks passed
@hanno-becker hanno-becker deleted the shake_init branch January 23, 2025 05:28
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