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

Ensure that rc5 doesn't try to use a key longer than 2040 bits #8834

Closed
wants to merge 2 commits into from

Commits on Jun 28, 2019

  1. Ensure that rc5 doesn't try to use a key longer than 2040 bits

    The maximum key length for rc5 is 2040 bits so we should not attempt to
    use keys longer than this.
    
    Issue found by OSS-Fuzz and Guido Vranken.
    mattcaswell committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    3921af5 View commit details
    Browse the repository at this point in the history
  2. Change RC5_32_set_key to return an int type

    If the key is too long we now return an error.
    mattcaswell committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    6922e38 View commit details
    Browse the repository at this point in the history