-
Notifications
You must be signed in to change notification settings - Fork 13
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
cipher: do not reuse cipher ctx for certain operations #146
cipher: do not reuse cipher ctx for certain operations #146
Conversation
Tested locally against Go 1.22.3 (golang-fips/go tip). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@lyoung-confluent I've tested against your reproducer but could you verify this fix works for you as well? Also @dagood or @qmuntal if you can take a look as well that would be greatly appreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes golang-fips/go#187 Co-authored-by: Derek Parker <[email protected]>
Fixes golang-fips/go#187 Co-authored-by: Derek Parker <[email protected]> (cherry picked from commit 61a53ab)
Fixes golang-fips/go#187 Co-authored-by: Derek Parker <[email protected]> (cherry picked from commit 61a53ab) Co-authored-by: Derek Parker <[email protected]>
Fixes golang-fips/go#187
CBC and CTR are left as-is, as we also cached the context in the v1 version, so technically not a regression.