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

Lower Argon2 memory parameter in S2K test vector #178

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

lubux
Copy link
Contributor

@lubux lubux commented Jul 10, 2023

Fix #177, which reported that the s2k TestParseIntoParams test fails on 32-bit platforms.
The issue is that the argon2 memory exponent parameter in the test case causes the argon2 implementation to fail on 32-bit platforms on slice creation.

This pull request changes the memory exponent parameter in the argon2 s2k test vector from 22 to 16, thus, reducing the memory requirement for the test case.

This commit changes the memory exponent parameter in the
argon2 s2k test vector from 22 to 16. Reduces the memory requirement,
which caused failures on 32-bit platforms.
@lubux lubux requested a review from twiss July 10, 2023 08:36
Copy link
Member

@twiss twiss left a comment

Choose a reason for hiding this comment

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

👍 Thanks!

@twiss twiss changed the title Change argon2 memory parameter in s2k test vector Lower Argon2 memory parameter in S2K test vector Jul 10, 2023
@twiss twiss merged commit e01326f into ProtonMail:main Jul 10, 2023
@twiss twiss deleted the fix-argon2-testvector-params branch July 10, 2023 11: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.

Tests fail on 32bit architectures.
2 participants