dusk-network / schnorr

Schnorr Signature algorithm usiing BLS12-381 Curve
Mozilla Public License 2.0
13 stars 19 forks source link

Deprecate `PublicKeyPair` #95

Closed moCello closed 10 months ago

moCello commented 10 months ago

Summary

Remove PublicKeyPair struct and refer to R and R_prime directly

Notes

While PublicKeyPair has nothing to do in the DoubleSignature: R and R' are not a PublicKeyPair they are two nonce points. Where it actually makes sense is in the public keys in order to verify a DoubleSignature (just like a PublicKey verifies a Signature a PublicKeyPair would verify a DoubleSignature).

Relevant Context

see #81