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 KeyInit for blake2 #432

Merged
merged 1 commit into from Nov 11, 2022
Merged

Conversation

vlad9486
Copy link
Contributor

Right now it is crashes always on KeyInit::new.

@newpavlov
Copy link
Member

newpavlov commented Nov 10, 2022

Your changes are incorrect, you try to pass key as salt. How exactly does it crash?

@vlad9486
Copy link
Contributor Author

@newpavlov
Please, look again. The original code is incorrect and passing key as salt. My fix is fixing that. Here is the test, which is crashed #433.

@newpavlov
Copy link
Member

newpavlov commented Nov 11, 2022

Oh... True. We have tests for the MAC types, but they different codepath.

@newpavlov newpavlov reopened this Nov 11, 2022
@newpavlov newpavlov merged commit 881b21f into RustCrypto:master Nov 11, 2022
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