Skip to content

uucore/checksum: improve API of create_sha3()#8645

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:uucore_checksum_simplify_create_sha3
Sep 16, 2025
Merged

uucore/checksum: improve API of create_sha3()#8645
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:uucore_checksum_simplify_create_sha3

Conversation

@cakebaker
Copy link
Contributor

This PR improves the API of create_sha3() by changing the type of its sole parameter from Option<usize> to usize. It clarifies that sha3 always requires a specified output size.

expect usize instead of Option<usize> as param
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit aaf742d into uutils:main Sep 16, 2025
95 checks passed
@cakebaker cakebaker deleted the uucore_checksum_simplify_create_sha3 branch September 17, 2025 05:07
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.

2 participants