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

GHASH max block length too low #312

Closed
sinui0 opened this issue Aug 30, 2023 · 0 comments · Fixed by #313
Closed

GHASH max block length too low #312

sinui0 opened this issue Aug 30, 2023 · 0 comments · Fixed by #313
Labels
bug Something isn't working

Comments

@sinui0
Copy link
Member

sinui0 commented Aug 30, 2023

User reported an error which originated from the GHASH module:

Invalid input length: 16416

This indicates that a 1026 block input was provided, but our default configuration has a max set at 1024. This default is too low, presumably at 1024 because that is the maximum TLS plaintext record length. However, it fails to account for the additional data included in the MAC, causing an error when a server sends a max length payload.

@sinui0 sinui0 added the bug Something isn't working label Aug 30, 2023
@sinui0 sinui0 linked a pull request Aug 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant