plume-sig / zk-nullifier-sig

Implementation of PLUME: nullifier friendly signature scheme on ECDSA
MIT License
132 stars 22 forks source link

Public key compressed twice #14

Open 0xbok opened 1 year ago

0xbok commented 1 year ago

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.