zk-nullifier-sig icon indicating copy to clipboard operation
zk-nullifier-sig copied to clipboard

Public key compressed twice

Open 0xbok opened this issue 1 year ago • 0 comments

Context: verify_nullifier.circom#L214-L219, verify_nullifier.circom#L72

Public key is compressed twice which results in more constraints than required.

Recommendation: Use the compressed public key for calculating the hash for c, although it makes the code complicated.

0xbok avatar May 08 '23 13:05 0xbok