Skip to content

Adds support for blake2x by allowing max_depth 0 #12

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

Merged
merged 4 commits into from
Sep 5, 2019

Conversation

kobigurk
Copy link
Contributor

@kobigurk kobigurk commented Sep 1, 2019

This is required to support Blake2x (https://blake2.net/blake2x.pdf).

The PR also adds testing for blake2x using the reference implementation test vectors.

@oconnor663
Copy link
Owner

Thanks for this! Could you make the corresponding change on the blake2b/ side and fix+rename the tests that are failing?

@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 1, 2019

Of course!

@kobigurk kobigurk changed the title Adds support for max depth 0 Adds support for blake2x Sep 2, 2019
@kobigurk kobigurk changed the title Adds support for blake2x Adds support for blake2x by allowing max_depth 0 Sep 2, 2019
@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 2, 2019

Pushed, added test vectors from the kat.

Copy link
Owner

@oconnor663 oconnor663 left a comment

Choose a reason for hiding this comment

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

This is fantastic. I'm really glad to see those BLAKE2X* test vectors getting exercised. A few more nits for the new test code, and then I think this will be ready to merge. Let me know if you'd prefer for me to just go ahead and merge it and make these changes on my end.

@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 5, 2019

Thanks for all the great comments. I updated it!

@oconnor663 oconnor663 merged commit 3706393 into oconnor663:master Sep 5, 2019
@oconnor663
Copy link
Owner

Absolutely, really glad to have this change and especially these tests. If you need this in production I could go ahead and tag a release?

@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 5, 2019 via email

@oconnor663
Copy link
Owner

Done! Version 0.5.8 is live.

@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 5, 2019 via email

@oconnor663
Copy link
Owner

Please send me a link to what you're building with it, if it's public.

@kobigurk
Copy link
Contributor Author

kobigurk commented Sep 5, 2019 via email

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

2 participants