Skip to content

secp256k1: add DLEQVerify #101

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

Closed
wants to merge 1 commit into from
Closed

Conversation

benma
Copy link
Contributor

@benma benma commented Jul 21, 2024

A quick port of

https://github.com/BlockstreamResearch/secp256k1-zkp/blob/6152622613fdf1c5af6f31f74c427c4e9ee120ce/src/modules/ecdsa_adaptor/dleq_impl.h#L129

A DLEQ (discrete log equivalence) proof proves that the discrete log of P1 to the secp256k1 base G is the same as the discrete log of P2 to another base.

This is useful to verify that a silent payment (BIP-352) output created by a signer was created correctly.

A quick port of

https://github.com/BlockstreamResearch/secp256k1-zkp/blob/6152622613fdf1c5af6f31f74c427c4e9ee120ce/src/modules/ecdsa_adaptor/dleq_impl.h#L129

A DLEQ (discrete log equivalence) proof proves that the discrete log
of P1 to the secp256k1 base G is the same as the discrete log of P2 to
another base.

This is useful to verify that a silent payment (BIP-352) output
created by a signer was created correctly.
@benma
Copy link
Contributor Author

benma commented Sep 17, 2024

Part of #105

@benma benma closed this Sep 17, 2024
@benma benma deleted the dleq-verify branch September 17, 2024 12:31
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.

1 participant