Skip to main content

kmac256_xof

Function kmac256_xof 

pub fn kmac256_xof(key: &[u8], data: &[u8], custom: &[u8], out: &mut [u8])
Expand description

KMAC256 in XOF mode (KMACXOF256, NIST SP 800-185 §4).

XOF variant: binds right_encode(0) instead of the output length, so out.len() does not affect earlier bytes. NIST SP 800-185 §4.3.1.