supranational / blst

Multilingual BLS12-381 signature library
Apache License 2.0
458 stars 175 forks source link

Add point negation to go binding #134

Closed StephenButtolph closed 1 year ago

StephenButtolph commented 1 year ago

I was trying to support removal of a signature from an aggregated signature in a downstream repository. But, I ended up getting blocked on negation support. Let me know if there is anything else that would need to be done to consider adding this functionality to the go bindings. Thanks in advance!

dot-asm commented 1 year ago

It sounds like Sub and SubAssign would be a better choice... I mean given that there are Add and AddAssign... And it would also be possible to minimize the amount of Cgo transitions. Point is that those are expensive. In other words, #135 is suggested as an alternative solution :-)

StephenButtolph commented 1 year ago

Closing in favor of #135