w3f / ring-vrf

MIT License
39 stars 17 forks source link

RedJubJub point serialization #8

Open burdges opened 4 years ago

burdges commented 4 years ago

I used ZCash ECC field serialization for points in https://github.com/w3f/ring-vrf/commit/05382eadf793d9a931c5639549b98644d16cbd50 but it should conform with the serializations actually done internally by redjubjub in https://github.com/zkcrypto/jubjub/blob/master/src/lib.rs#L397-L444 Anyone know where this happens in ZCash ECC's code?

burdges commented 4 years ago

I've mostly done this using read and write methods, but ZEXE has no_std methods for this stuff, which sound worth adopting.

burdges commented 4 years ago

Is the current serialization usable @sorpaas ?