Adds LessSafeKey::open_in_place_separate_tag#1116
Conversation
|
Thanks for the contribution! The implementation looks correct. AWS-LC's I pushed a small follow-up commit to your branch to expanded test coverage. Tests now cover AES-256-GCM and ChaCha20-Poly1305 in addition to AES-128-GCM, plus empty plaintext and wrong-tag rejection cases. |
Expand tests to cover AES-256-GCM, ChaCha20-Poly1305, empty plaintext, and wrong-tag rejection.
f445dcc to
3bfde2d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1116 +/- ##
==========================================
- Coverage 95.80% 92.71% -3.09%
==========================================
Files 61 71 +10
Lines 8143 10248 +2105
Branches 0 10248 +10248
==========================================
+ Hits 7801 9501 +1700
- Misses 342 451 +109
- Partials 0 296 +296 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
75898bb to
48f2dad
Compare
48f2dad to
75eb661
Compare
Issues:
Resolves #1115
Description of changes:
open_in_place_separate_tagto allow for in-place + separate tags, limited to justLessSafeKeyfor now.Call-outs:
Testing:
cargo checkandcargo test -p aws-lc-rs --test aead_test+cargo clippySample results using a M4 Mac + a thrown together benchmark harness. But I am happy to incorperate this change into a larger bench suite if needed for the PR.
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.