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

Derive a subkey from a parent key.