Function ergo_lib_c_core::ext_secret_key::ext_secret_key_new

source ยท
pub unsafe fn ext_secret_key_new(
    secret_key_bytes: *const u8,
    chain_code: *const u8,
    derivation_path_ptr: ConstDerivationPathPtr,
    ext_secret_key_out: *mut ExtSecretKeyPtr,
) -> Result<(), Error>
Expand description

Create ExtSecretKey from secret key bytes, chain code and derivation path secret_key_bytes needs to be the length of SecretKeyBytes::LEN (32 bytes) chain_code needs to be the length of ChainCode::LEN (32 bytes)