Function EC_KEY_priv2buf

Source
pub unsafe extern "C" fn EC_KEY_priv2buf(
    eckey: *const ec_key_st,
    pbuf: *mut *mut u8,
) -> usize
Expand description

Encodes an EC_KEY private key to an allocated octet string \param eckey key to encode \param pbuf returns pointer to allocated buffer \return the length of the encoded octet string or 0 if an error occurred