Searched refs:hmac_data (Results 1 – 1 of 1) sorted by relevance
315 unsigned char *hmac_data; in smb_auth_v2_response() local318 hmac_data = malloc(NTLM_CHAL_SZ + clen); in smb_auth_v2_response()319 if (!hmac_data) { in smb_auth_v2_response()323 (void) memcpy(hmac_data, srv_challenge, slen); in smb_auth_v2_response()324 (void) memcpy(&hmac_data[slen], clnt_data, clen); in smb_auth_v2_response()325 if (SMBAUTH_HMACT64(hmac_data, slen + clen, (unsigned char *)hash, in smb_auth_v2_response()330 free(hmac_data); in smb_auth_v2_response()