-
Notifications
You must be signed in to change notification settings - Fork 154
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
aes-gcm: bump aes
crate to v0.8
#409
Conversation
armv8 = ["aes/armv8", "ghash/armv8"] # nightly-only | ||
force-soft = ["aes/force-soft", "ghash/force-soft"] | ||
armv8 = ["ghash/armv8"] # nightly-only | ||
force-soft = ["ghash/force-soft"] |
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.
It seems unfortunate there's no longer a way to transitively toggle on support for these across crates.
The cfg
-based approach seems okay, but IMO there should be a single cfg
which can force soft implementations across all crates, or force nightly
armv8 support, rather than having to instruct people to pass two different cfg
s for both aes
and ghash
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
==========================================
- Coverage 87.95% 87.90% -0.05%
==========================================
Files 40 40
Lines 1959 1960 +1
==========================================
Hits 1723 1723
- Misses 236 237 +1
Continue to review full report at Codecov.
|
5d05d05
to
f9c7196
Compare
f9c7196
to
81827f5
Compare
aes
crate to v0.8aes
crate to v0.8
In #409, for whatever reason I moved the application of the keystream from after the tag check to before. This means the keystream is applied unilaterally, instead of only when tag verification is successful. Sadly, there was a TODO to test for this. A test has been added to ensure the buffer is unmodified on tag verification failure. It was red/green tested to ensure it caught the previous bug, and that the fix corrects it. This is being tracked as GHSA-423w-p2w9-r7vq (currently embargoed).
In #409, for whatever reason I moved the application of the keystream from after the tag check to before. This means the keystream is applied unilaterally, instead of only when tag verification is successful. Sadly, there was a TODO to test for this. A test has been added to ensure the buffer is unmodified on tag verification failure. It was red/green tested to ensure it caught the previous bug, and that the fix corrects it. This is being tracked as GHSA-423w-p2w9-r7vq (currently embargoed).
No description provided.