Hi On Fri, Sep 25, 2020 at 10:51 AM Joop Kiefte <iko...@gmail.com> wrote:
> https://www.openssl.org/docs/man1.1.0/man3/EC_POINT_invert.html I found > this, that might help you on the way... > > It's defined in this file: > https://github.com/openssl/openssl/blob/67ecd65cc4fdaa03fbae5fcccf53ebca7d785554/crypto/ec/ec_lib.c > Or more precisely it calls this code https://boringssl.googlesource.com/boringssl/+/master/crypto/fipsmodule/ec/felem.c#57 But I want to avoid implementing parts of EC encryption myself and looking for a standard Golang way to achieve my goal. Shouldn't this inversion operation be part of the standard library? > *Joop Kiefte* - Chat @ Spike > <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=p7hzc> [image: > p7hzc] > > On September 25, 2020 at 17:34 GMT, Anatol Pomozov < > anatol.pomo...@gmail.com> wrote: > > > Hi > > I am trying to port some of EC crypto code to golang. And I have a call in > C > > if (EC_POINT_invert(grp, p, bnc) < 0) > return NULL; > > that I need to port to golang. I checked the crypto lib docs and did not > find any mention of EC point inversion operation. > > Could anyone point me to the right direction on how to achieve the > inversion in Go? > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3be55ce9-d6e5-46e7-84cc-3866e7d9b591n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/3be55ce9-d6e5-46e7-84cc-3866e7d9b591n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOMFOmXQpo0R9q86WUtz_76q67F31MCJsH5EqAtNvBrSx5VFAA%40mail.gmail.com.