Lines Matching refs:clen
120 unsigned char *challenge, int clen,
134 rc = smb_auth_DES(lm_rsp, SMBAUTH_RESP_SZ, S21, 21, challenge, clen);
176 unsigned char *challenge, int clen,
184 S21, 21, challenge, clen) == SMBAUTH_FAILURE)
387 unsigned char *clnt_data, int clen,
392 hmac_data = (unsigned char *)malloc((slen + clen) * sizeof (char));
398 (void) memcpy(&hmac_data[slen], clnt_data, clen);
399 if (SMBAUTH_HMACT64(hmac_data, slen + clen, (unsigned char *)hash,
402 (void) memcpy(&v2_rsp[SMBAUTH_HASH_SZ], clnt_data, clen);
405 return (SMBAUTH_HASH_SZ + clen);
554 uint32_t clen,
561 rc = smb_auth_lm_response(lm_hash, challenge, clen, lm_resp);
571 uint32_t clen,
580 rc = smb_auth_ntlm_response(ntlm_hash, challenge, clen, ntlm_resp);
596 uint32_t clen,
650 clen, clnt_blob, clnt_blob_len, ntlmv2_resp) < 0)
698 uint32_t clen,
710 bcopy(challenge, ntlm2_sess_nonce, clen);
711 bcopy(nonce, ntlm2_sess_nonce + clen, nlen);
728 uint32_t clen,
771 clen, clnt_challenge, SMBAUTH_V2_CLNT_CHALLENGE_SZ,
795 uint32_t clen,
812 ok = smb_lm_password_ok(challenge, clen, smbpw->pw_lmhash,
817 ok = smb_lmv2_password_ok(challenge, clen, smbpw->pw_nthash,
834 uint32_t clen,
854 ok = smb_ntlmv2_password_ok(challenge, clen,
858 ok = smb_ntlm_password_ok(challenge, clen,
862 ok = smb_ntlm2_session_password_ok(challenge, clen,