Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hash generation to native big integer to reduce dependencies. #887

Conversation

ArneBab
Copy link
Contributor

@ArneBab ArneBab commented Jan 26, 2024

In the Guix build Hash.java was a blocker that had to be circumvented, because the i2p tools are not packaged.

Since the two methods providing NativeBigInteger are unused, this PR removes them completely.

@ArneBab ArneBab changed the title Remove hash generation to nativ big integer to reduce dependencies. Remove hash generation to native big integer to reduce dependencies. Jan 26, 2024
In the Guix build Hash.java was a blocker that had to be circumvented,
because the i2p tools are not packaged.

Since the two methods providing NativeBigInteger are unused, this PR
removes them completely.
@ArneBab ArneBab force-pushed the remove-native-big-integer-dependency-of-crypt-api branch from 793f6cc to b66fcdc Compare January 26, 2024 20:44
@Bombe
Copy link
Contributor

Bombe commented Jan 28, 2024

Well, technically, this is public API but a grep over my ~/Workspace doesn’t get any hit outside of this file and its test.

Wait. There’s a test that you didn’t change and that now doesn’t compile, shouldn’t we have checks for that already or is that still WIP?

@ArneBab
Copy link
Contributor Author

ArneBab commented Jan 30, 2024

This was only merged in 1495; I’m pretty sure no one is using it yet.

But the test should not be broken; I missed that (need to add a gradle run to the workflows).

@ArneBab
Copy link
Contributor Author

ArneBab commented Feb 12, 2024

@Bombe is this OK to merge?

@ArneBab ArneBab merged commit 63aa471 into hyphanet:next Mar 16, 2024
1 check passed
@ArneBab
Copy link
Contributor Author

ArneBab commented Mar 16, 2024

Thank you for your review! Merged.

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