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

WIP: Migration for Bouncy Castle types to java.security types. #3354

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

msgilligan
Copy link
Member

No description provided.

@schildbach
Copy link
Member

Looks fine in general. Can we progress this to the point where we can delete the BC_CURVE field?

(If/when bitcoinj migrates to secp256k1-jdk, the definitions can come
from that package)
These accessors both return BigInteger, so it's an easy switch. Other
uses of values from BC_CURVE are (for now) dependent on BC types.
@msgilligan msgilligan force-pushed the msgilligan/ECKey-rename-CURVE-to-BC_CURVE branch from 9db6a29 to 3b22781 Compare March 11, 2024 15:00
@msgilligan
Copy link
Member Author

msgilligan commented Mar 11, 2024

Can we progress this to the point where we can delete the BC_CURVE field?

I think we can, but we might have to create a secp256k1-jdk wrapper for curve parameters, so we can get things like point types in the correct format for either secp256k1-ffm or secp256k1-bouncy. I think this will allow us to minimize format conversion on point types.

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