dusk-network / plonk

Pure Rust implementation of the PLONK ZKProof System done by the Dusk team
https://dusk-network.github.io/plonk
Mozilla Public License 2.0
535 stars 148 forks source link

Add `JubJubScalarMalformed` error #784

Closed moCello closed 10 months ago

moCello commented 10 months ago

Summary

in component_mul_point we through an BlsScalarMalformed error when the JubJubScalar witness is malformed. This is wrong and a new error type for this case needs to be created.

Relevant Context

see https://github.com/dusk-network/schnorr/pull/88#discussion_r1374292888