lambdaworks
lambdaworks copied to clipboard
Short Weierstrass point compression
I've noticed a TODO in the codebase but couldn't find a ticket for it.
I'd made a partial implementation here but since removed it because I've only recently been diving deeper into ECC and there's not a huge requirement for us right now.
Relates to https://github.com/lambdaclass/lambdaworks/issues/323
Yes. A first step is to just convert them to affine, and you can save 1 field element. Then you could also add a compressed format, with x coordinate and a bit to know which of the 2 you have to use.