xprv_to_ec

Function xprv_to_ec 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xprv_to_ec( xprv: *const c_char, ) -> *mut c_char
Expand description

Converts an xprv into EC keys with XOnlyPub..

ยงSafety

  • This function is unsafe because it dereferences and a returns raw pointer.
  • ENSURE that result is passed into cstring_free(ptr: *mut c_char) after use.