Skip to content

Use unsigned return type for BN_get_minimal_width and word size tests#2260

Merged
torben-hansen merged 2 commits intoaws:mainfrom
torben-hansen:bignum_size_representation_tests
Mar 10, 2025
Merged

Use unsigned return type for BN_get_minimal_width and word size tests#2260
torben-hansen merged 2 commits intoaws:mainfrom
torben-hansen:bignum_size_representation_tests

Conversation

@torben-hansen
Copy link
Copy Markdown
Contributor

Description of changes:

Return type of BN_get_minimal_width() should probably be unsigned as the rest of the size return functions. Take the opportunity to improve testing.

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.

@torben-hansen torben-hansen requested a review from a team as a code owner March 10, 2025 17:55
smittals2
smittals2 previously approved these changes Mar 10, 2025
@torben-hansen torben-hansen enabled auto-merge (squash) March 10, 2025 18:25
@smittals2
Copy link
Copy Markdown
Contributor

Did a merge from main to test the changes against the IbmTpm CI check (just added to CI)

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.06%. Comparing base (7bca7e9) to head (b64b465).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2260   +/-   ##
=======================================
  Coverage   79.06%   79.06%           
=======================================
  Files         612      612           
  Lines      106536   106545    +9     
  Branches    15055    15058    +3     
=======================================
+ Hits        84229    84243   +14     
+ Misses      21653    21650    -3     
+ Partials      654      652    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@torben-hansen torben-hansen force-pushed the bignum_size_representation_tests branch from b187cca to b64b465 Compare March 10, 2025 20:50
@torben-hansen torben-hansen merged commit a8ab694 into aws:main Mar 10, 2025
103 of 107 checks passed
@torben-hansen torben-hansen deleted the bignum_size_representation_tests branch March 10, 2025 22:28
@skmcgrail skmcgrail mentioned this pull request Mar 13, 2025
skmcgrail added a commit that referenced this pull request Mar 13, 2025
## What's Changed
* Use unsigned return type for BN_get_minimal_width and word size tests
by @torben-hansen in #2260
* Revert removal of "PEM_X509_INFO_write_bio" by @smittals2 in
#2226
* Remove no-op register move from ChaCha20_ctr32_ssse3_4x by @nebeid in
#2234
* Fix aws-lc-rs CI test when symbols removed by @justsmth in
#2262
* Add x4 batched SHAKE128 and SHAKE256 APIs by @manastasova in
#2247
* Fix aws-lc-rs CI test (again) by @justsmth in
#2268
* Minor build fixes for CMake and libssl on x86 by @skmcgrail in
#2267

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants