search for: server_challenge

Displaying 1 result from an estimated 1 matches for "server_challenge".

2004 Sep 30
1
[PATCH] NTLM2 support
...General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ @@ -110,6 +110,23 @@ ntlmssp_v1_response(const unsigned char } void +ntlmssp2_response(const unsigned char *hash, + const unsigned char *server_challenge, + const unsigned char *client_challenge, + unsigned char response[NTLMSSP_RESPONSE_SIZE]) +{ + struct md5_context ctx; + unsigned char session_hash[16]; + + md5_init(&ctx); + md5_update(&ctx, server_challenge, NTLMSSP_CHALLENGE_SIZE); + md5_update(&ctx, client_challenge, NTLMSSP_...