Skip to main content

derive_session_key

Function derive_session_key 

Source
fn derive_session_key(
    nthash: &[u8; 16],
    identity_utf16le: &[u8],
    proof: &[u8],
    t3: &Type3,
) -> Option<[u8; 16]>
Expand description

Exported session key ([MS-NLMP] §3.2.5.1.2): KeyExchangeKey = HMAC-MD5(NTLMv2Hash, NTProofStr) ExportedSessionKey = RC4(KeyExchangeKey, EncryptedRandomSessionKey) When the client did not perform NEGOTIATE_KEY_EXCH the exported key equals KeyExchangeKey.