Open daxpedda opened 2 years ago
@daxpedda just checking in, is this issue still relevant?
Theoretically, it's really code quality improvement only, maybe it's a bit overkill to have a whole issue for something like this, so feel free to close. But yeah, eventually we should get back to it.
In #56 we will re-introduce some customized
serde
de/serialization again. This is because currently the VOPRF spec still actually produces zero scalars and identity points and we can't actually use the appropriate types to represent the fact that de/serialization should fail with zero scalars and identity points.When this is resolved in the VOPRF spec, https://github.com/cfrg/draft-irtf-cfrg-voprf/issues/307, we can use the appropriate types. For
elliptic-curve
that isPublicKey
andSecretKey
orNonIdentityPoint
(something I was thinking of introducing) andNonZeroScalar
, forcurve25519-dalek
we will have to introduce our own types.