Encodes ec parameter and stores the result in a buffer.
\param key the EC_KEY object with ec paramters to encode
\param out the buffer for the result (if NULL the function returns number
of bytes needed).
\return 1 on success and 0 if an error occurred.
Encodes ec parameter and stores the result in a buffer. \param key the EC_KEY object with ec paramters to encode \param out the buffer for the result (if NULL the function returns number of bytes needed). \return 1 on success and 0 if an error occurred.