← Back to Bitcoin Improvement Proposals
BIPinformational

bip-0374: fix challenge generation, use correct generator point

Both generating and verifying a proof allows for specifying a custom generator point G. But that custom generator point was not passed into the dleq_challenge function, resulting in the default (secp256k1) generator point to be used. This lead to the test vectors being incorrect. Noticed this while re-implementing DLEQ proof generation and verification in Golang.

No reviews
guggero·Updated Dec 30, 2024·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

Both generating and verifying a proof allows for specifying a custom generator point G. But that custom generator point was not passed into the dleq_challenge function, resulting in the default (secp256k1) generator point to be used. This lead to the test vectors being incorrect.

Noticed this while re-implementing DLEQ proof generation and verification in Golang.

Discussion (0 threads)

Loading discussions...