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

btc: verify and return silent payment outputs #105

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Commits on Sep 17, 2024

  1. btc: verify and return silent payment outputs

    Silent Payment outputs are generated and returned by the firmware to
    be integrated into a transaction. This commit verifies the correctness
    of the generated output using a DLEQ proof and returns the output.
    
    The DLEQ verificaiton function is 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.
    benma committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    1662e21 View commit details
    Browse the repository at this point in the history