pub fn derive_from_key<S, P>(
    sub_key: S,
    subkey_id: u64,
    ctx: [u8; 8],
    parent_key: P
) -> Result<(), OneErr> where
    S: 'static + Into<BufWrite> + Send,
    P: 'static + Into<BufReadSized<{_: usize}>> + Send
Expand description

Derive a subkey from a parent key.