-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support for AES CFB (128-bit) mode #585
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #585 +/- ##
==========================================
- Coverage 95.80% 92.60% -3.20%
==========================================
Files 61 67 +6
Lines 8143 9516 +1373
Branches 0 9516 +9516
==========================================
+ Hits 7801 8812 +1011
- Misses 342 430 +88
- Partials 0 274 +274 ☔ View full report in Codecov by Sentry. |
I've tried it with the use case described in #575 and it works as expected 👍🏻 Thanks a lot! |
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.
I have a few nit-picks, but no significant concerns.
for i in 13..=21 { | ||
for j in 124..=131 { |
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.
Sorry if I've asked this before and I've noticed this is used in the other tests as well.
What do these pair of numbers mean and should we abstract them into variables?
Issues:
Resolves #575
Description of changes:
Adds support for AES cipher feedback 128-bit mode (CFB-128). I was going to also support CFB 1-bit and CFB 8-bit modes but have a smaller concern around being able to support that with the fips feature enabled currently. Need to investigate that further, so we may come back at a later date and add support for those additional bit-mode variants. For now this resolves the requester's needs.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.