Add randomized unit testing for EVP_CIPHERs#2922
Merged
Conversation
Added a unit test that performs end-to-end testing of all EVP_CIPHERs with random key, IV, plaintext, aad.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2922 +/- ##
==========================================
- Coverage 78.35% 78.22% -0.14%
==========================================
Files 690 690
Lines 118668 118741 +73
Branches 16686 16681 -5
==========================================
- Hits 92985 92880 -105
- Misses 24792 24972 +180
+ Partials 891 889 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
samuel40791765
previously approved these changes
Dec 29, 2025
skmcgrail
previously approved these changes
Dec 29, 2025
7df982c
samuel40791765
previously approved these changes
Dec 29, 2025
skmcgrail
previously approved these changes
Dec 30, 2025
samuel40791765
previously approved these changes
Dec 30, 2025
WillChilds-Klein
previously approved these changes
Dec 30, 2025
0aa8d89
skmcgrail
approved these changes
Dec 30, 2025
WillChilds-Klein
approved these changes
Dec 30, 2025
samuel40791765
approved these changes
Dec 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues:
N/A
Description of changes:
Added a unit test that performs end-to-end testing of all
EVP_CIPHERs with random key, IV, plaintext, aad.
Call-outs:
Locally, I reverted the XTS fix (3f282aa) and verified that this new unit test would catch the bug.
Testing:
How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?
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.