Crypto Octet String to EC Point Conversion


I have a compressed Octet String Key that I want to convert to an EC Point to use for ECDH. I’m trying to see if there’s any already existing Go Libraries that perform a similarly to Openssl’s EC_POINT_oct2point function.

I’ve already looked into crypto/elliptical’s unmarshal and marshal but those take in uncompressed string so it doesn’t work. The go openssl wrappers also do not seem to contain the function.
Are there any go libraries that I may have missed?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.