Skip to main content

single_chunk_derive_key

Function single_chunk_derive_key 

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

The key derivation function for at most a single chunk (CHUNK_LEN) worth of bytes.

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