apache / incubator-milagro-crypto-rust

Apache Milagro Crypto Library - Rust Version
https://milagro.apache.org/
Apache License 2.0
31 stars 19 forks source link

Add compression for `tobytes()` for `ECP` over extensions larger than 1 #32

Open kirk-baird opened 4 years ago

kirk-baird commented 4 years ago

What is the issue

Currently ECP::tobytes() is the only one with point compression

It should be added for ECP2, ECP4, ECP8 to half the size of the bytes required.