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

Use PyCryptodomex's implementation of TurboSHAKE128 #324

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented Jan 11, 2024

Closes #323.

Support for TurboSHAKE was recently (as of version 3.20.0) added to PyCryptodomex. Use it instead of our own implementation and remove our implementation.

Accordingly, remove the draft-irtf-cfrg-kangarootwelve submodule, as we no longer need it for interop testing with our code.

Note that PyCryptodomex can be upgraded with:

$ sage -pip install --upgrade pycryptodomex

@cjpatton cjpatton force-pushed the cjpatton/323 branch 2 times, most recently from 0877faf to 362d1f4 Compare January 11, 2024 19:36
Support for TurboSHAKE was recently (as of version 3.20.0) added to
PyCryptodomex. Use it instead of our own implementation and remove our
implementation.

Accordingly, remove the draft-irtf-cfrg-kangarootwelve submodule, as we
no longer need it for interop testing with our code.

Note that PyCryptodomex can be upgraded with:

$ sage -pip install --upgrade pycryptodomex
Copy link
Collaborator

@divergentdave divergentdave left a comment

Choose a reason for hiding this comment

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

LGTM, test vectors are unchanged to boot.

@cjpatton cjpatton changed the title Use PyCryptodome's implementation of TurboSHAKE128 Use PyCryptodomex's implementation of TurboSHAKE128 Jan 11, 2024
@cjpatton cjpatton merged commit 2c7a681 into main Jan 11, 2024
6 checks passed
@cjpatton cjpatton deleted the cjpatton/323 branch May 1, 2024 20:18
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.

poc: Use PyCryptodome for TurboSHAKE
2 participants