Encodes a ec public key in an octet string.
the EC_KEY object with the public key
the buffer for the result (if null the function returns number of bytes needed).
1 on success and 0 if an error occurred
See Implementation
Encodes a ec public key in an octet string.