Skip to main content

single_block_derive_key

Function single_block_derive_key 

Source
pub fn single_block_derive_key(
    context: &str,
    key_material: &[u8],
) -> Option<[u8; 32]>
Expand description

The key derivation function for at most a single block worth of bytes.

Returns None if either context or key material length exceed one block.