Function stackmate::derive_hardened [−][src]
#[no_mangle]
pub unsafe extern "C" fn derive_hardened(
master_xprv: *const c_char,
purpose: *const c_char,
account: *const c_char
) -> *mut c_charExpand description
Derives hardened child keys from a master xprv. Follows the BIP32 standard of m/purpose’/network’/account’. Network path is inferred from the master xprv.
Safety
- This function is unsafe because it dereferences and returns raw pointer.
- Ensure that result is passed into cstring_free after use.