Skip to main content

kdf

Function kdf 

Source
pub fn kdf(
    suite: SecuritySuite,
    z: &[u8],
    algorithm_id: &[u8],
    party_u_info: &[u8],
    party_v_info: &[u8],
    output_len: usize,
) -> Result<Vec<u8>, AgreementError>
Expand description

The NIST SP 800-56A single-step KDF over the suite’s hash, producing output_len octets from the shared secret z and the other-info fields algorithm_id ‖ party_u_info ‖ party_v_info.