Lines Matching defs:rc
124 int rc;
134 rc = smb_auth_DES(lm_rsp, SMBAUTH_RESP_SZ, S21, 21, challenge, clen);
135 return (rc);
149 int rc;
162 rc = smb_auth_md4(hash, (unsigned char *)unicode_password, length);
165 return (rc);
338 int rc;
358 rc = SMBAUTH_HMACT64((unsigned char *)data, data_len, ntlm_hash,
363 return (rc);
436 int rc;
482 rc = smb_auth_v2_response(auth->hash_v2, srv_challenge_key,
485 if (rc < 0)
488 auth->cs_len = rc;
491 rc = smb_auth_v2_response(auth->hash_v2, srv_challenge_key,
495 if (rc < 0)
498 auth->ci_len = rc;
522 int rc;
525 rc = smb_auth_md4(session_key, auth->hash, SMBAUTH_HASH_SZ);
527 rc = SMBAUTH_HMACT64((unsigned char *)auth->cs,
531 return (rc);
559 int rc;
561 rc = smb_auth_lm_response(lm_hash, challenge, clen, lm_resp);
562 if (rc != SMBAUTH_SUCCESS)
577 int rc;
580 rc = smb_auth_ntlm_response(ntlm_hash, challenge, clen, ntlm_resp);
581 if (rc != SMBAUTH_RESP_SZ)
586 rc = smb_auth_md4(session_key, ntlm_hash, SMBAUTH_HASH_SZ);
587 if (rc != SMBAUTH_SUCCESS)
611 int rc;
655 rc = SMBAUTH_HMACT64(ntlmv2_resp,
658 if (rc != SMBAUTH_SUCCESS) {