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 PBKDF2 with zero iterations #2090

Merged
merged 1 commit into from
Aug 31, 2019
Merged

Fix PBKDF2 with zero iterations #2090

merged 1 commit into from
Aug 31, 2019

Commits on Aug 31, 2019

  1. Fix PBKDF2 with zero iterations

    It would go into a very long loop.
    
    OpenSSL treats iterations==0 same as iterations==1 but this seems
    confusing. Instead just reject it.
    
    Unrelated, fix a divide by zero if asked to tune with 0 byte output.
    
    Closes GH #2088
    randombit committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    4530544 View commit details
    Browse the repository at this point in the history