Function sodoken::kdf::derive_from_key[][src]

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

Derive a subkey from a parent key.