bls icon indicating copy to clipboard operation
bls copied to clipboard

Improve serialization of Publickey and Signature

Open drskalman opened this issue 3 years ago • 2 comments

arkworks now have serialization for projective curve, so we should use it.

drskalman avatar Feb 16 '22 21:02 drskalman

ffbcbff derive serialization and impl ToBytes FromBytes from arkworks. Tests should be adapted to use ToBytes FromBytes. The compromise is that to bytes and from bytes do not return constant length arrays. But that was broken and hardcoded for 384 bytes.

drskalman avatar Feb 17 '22 09:02 drskalman

Avoid To/FromBytes: https://github.com/arkworks-rs/algebra/issues/390

burdges avatar Feb 24 '22 08:02 burdges