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

Bouncy Castle ECDSA implementation #20

Open
msgilligan opened this issue Mar 8, 2024 · 2 comments
Open

Bouncy Castle ECDSA implementation #20

msgilligan opened this issue Mar 8, 2024 · 2 comments

Comments

@msgilligan
Copy link
Member

msgilligan commented Mar 8, 2024

The initial goal for the Bouncy Castle ECDSA Implementation should be for the Ecdsa.{java,kt} examples to work properly.

@msgilligan msgilligan changed the title Finish Bouncy Castle ECDSA implementation Bouncy Castle ECDSA implementation Mar 8, 2024
@msgilligan
Copy link
Member Author

This is now a subtask of bitcoinj/bitcoinj#3389

@msgilligan
Copy link
Member Author

The bulk of (the first step) of this work is implementing the following two functions from the Ecdsa.java example:

  • secp.ecdsaSign(msg_hash, privKey)
  • secp.ecdsaVerify(sig, msg_hash, pubkey)

These functions use secp256k1-jdk types (which are subclasses of java.security types) and should be implemented as (hopefully thin) wrappers on top of existing Bouncy Castle ECDSA functionality.

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

No branches or pull requests

1 participant