-
Notifications
You must be signed in to change notification settings - Fork 562
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
Add Cipher_Mode::ideal_granularity #3168
Conversation
This reflects the size that would be best for performance, while update_granularity is modified to return the true minimum value. GH #3163
47a11f0
to
510a831
Compare
Codecov ReportBase: 88.04% // Head: 88.04% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #3168 +/- ##
==========================================
- Coverage 88.04% 88.04% -0.01%
==========================================
Files 604 605 +1
Lines 67226 67347 +121
Branches 6735 6739 +4
==========================================
+ Hits 59192 59298 +106
- Misses 5212 5222 +10
- Partials 2822 2827 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
3ffabe4
to
9f6db46
Compare
Previously update_granularity == 1 was an (undocumented and not reliable) method of detecting if an AEAD mode required presenting the entire message before processing could occur. Since #3168 this assumption is no longer valid. Add a method which directly indicates if the cipher mode has this nature.
That PR accidentally disabled decrypting multiple blocks in parallel.
This reflects the size that would be best for performance, while update_granularity is modified to return the true minimum value.
GH #3163