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).
Summary
Remove
PublicKeyPair
struct and refer toR
andR_prime
directlyNotes
While
PublicKeyPair
has nothing to do in theDoubleSignature
:R
andR'
are not aPublicKeyPair
they are twononce
points. Where it actually makes sense is in the public keys in order to verify aDoubleSignature
(just like aPublicKey
verifies aSignature
aPublicKeyPair
would verify aDoubleSignature
).Relevant Context
see #81