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

ChaCha: fix behavior on block count wrap #980

Merged
merged 1 commit into from
May 22, 2020

Commits on May 21, 2020

  1. ChaCha: fix behavior on block count wrap

    Documented behavior is to allow the counter to wrap around, but
    implementation was panicking on that event in debug-mode builds.
    
    Also fix `get_word_pos` handling of counter-wrapping, add some tests,
    and make math easier to read.
    kazcw committed May 21, 2020
    Configuration menu
    Copy the full SHA
    2cc29cd View commit details
    Browse the repository at this point in the history