CryptoLib
CryptoLib copied to clipboard
[nasa/cryptolib#441] Set Key, MC, SA, and Crypto type at compile time…
…, use those defines in UTs
All Submissions:
- [x] Have you followed the guidelines in our Contributing document?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
New Feature Submissions:
- [x] Does your submission pass tests?
Changes to Core Features:
- [x] Have you added an explanation of what your changes do and why you'd like us to include them?
How do you test these changes?
This should allow every UT to run on every build type. You should be able to see each of the added build flags at the beginning of the build script step in CI.
Codecov Report
Attention: Patch coverage is 94.89051% with 7 lines in your changes missing coverage. Please review.
Project coverage is 75.79%. Comparing base (
14ee573) to head (5e1ce87). Report is 147 commits behind head on dev.
Additional details and impacted files
@@ Coverage Diff @@
## dev #443 +/- ##
==========================================
- Coverage 75.97% 75.79% -0.19%
==========================================
Files 81 80 -1
Lines 22263 22812 +549
Branches 1807 1845 +38
==========================================
+ Hits 16914 17290 +376
- Misses 4707 4850 +143
- Partials 642 672 +30
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
This causes every UT file to show errors, but it does work. Not sure if there is a way to ignore warnings for undefined constants
We have been told that this type of "one crypto type, one key type, ..." is not ideal and they would like to be able to change. I believe this only affect unit tests, so this may still be ok.
@Donnie-Ice Are we good to proceed on evaluating some of these PRs now? I know we were holding for JPL until their most recent release.
Yep, they said we’re good to go.
On Mon, May 12, 2025 at 2:37 PM dccutrig @.***> wrote:
dccutrig left a comment (nasa/CryptoLib#443) https://github.com/nasa/CryptoLib/pull/443#issuecomment-2873620879
@Donnie-Ice https://github.com/Donnie-Ice Are we good to proceed on evaluating some of these PRs now? I know we were holding for JPL until their most recent release.
— Reply to this email directly, view it on GitHub https://github.com/nasa/CryptoLib/pull/443#issuecomment-2873620879, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASR6XZP36F54QNQNDRVLV5T26DS5ZAVCNFSM6AAAAABZ2TA4HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNZTGYZDAOBXHE . You are receiving this because you were mentioned.Message ID: @.***>
Should we update a unit test to test multiple configurations back to back to prove this functionality?
Sorry, just saw this. The CI runners prove this, although I believe wolfssl build script is currently using libgcrypt in dev. Can't remember why, but most likely due to some kind of segfault issues.