Home
last modified time | relevance | path

Searched refs:hmac_data (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_auth.c315 unsigned char *hmac_data; in smb_auth_v2_response() local
318 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()