Closed shahar-utila closed 1 year ago
Now schnorr zkp works only with curves that are defined over fields of 256 bits since C is generated using SetBytes() on a hash of 256 bits. This PR fixes it by using Scalar.Hash instead (doesn't rely on the size of the field).
type=routine risk=low impact=sev5
Now schnorr zkp works only with curves that are defined over fields of 256 bits since C is generated using SetBytes() on a hash of 256 bits. This PR fixes it by using Scalar.Hash instead (doesn't rely on the size of the field).
type=routine risk=low impact=sev5