• Home
  • Raw
  • Download

Lines Matching refs:rc

81 	int rc;  in E_P16()  local
85 rc = smbhash(p16, sp8, p14); in E_P16()
86 if (rc) in E_P16()
87 return rc; in E_P16()
88 rc = smbhash(p16 + 8, sp8, p14 + 7); in E_P16()
89 return rc; in E_P16()
95 int rc; in E_P24() local
97 rc = smbhash(p24, c8, p21); in E_P24()
98 if (rc) in E_P24()
99 return rc; in E_P24()
100 rc = smbhash(p24 + 8, c8, p21 + 7); in E_P24()
101 if (rc) in E_P24()
102 return rc; in E_P24()
103 rc = smbhash(p24 + 16, c8, p21 + 14); in E_P24()
104 return rc; in E_P24()
111 int rc; in mdfour() local
115 rc = cifs_alloc_hash("md4", &md4, &sdescmd4); in mdfour()
116 if (rc) in mdfour()
119 rc = crypto_shash_init(&sdescmd4->shash); in mdfour()
120 if (rc) { in mdfour()
124 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()
125 if (rc) { in mdfour()
129 rc = crypto_shash_final(&sdescmd4->shash, md4_hash); in mdfour()
130 if (rc) in mdfour()
135 return rc; in mdfour()
146 int rc; in SMBencrypt() local
154 rc = E_P16(p14, p16); in SMBencrypt()
155 if (rc) in SMBencrypt()
156 return rc; in SMBencrypt()
159 rc = E_P24(p21, c8, p24); in SMBencrypt()
161 return rc; in SMBencrypt()
172 int rc; in E_md4hash() local
184 rc = mdfour(p16, (unsigned char *) wpwd, len * sizeof(__le16)); in E_md4hash()
187 return rc; in E_md4hash()
195 int rc; in SMBNTencrypt() local
201 rc = E_md4hash(passwd, p16, codepage); in SMBNTencrypt()
202 if (rc) { in SMBNTencrypt()
204 __func__, rc); in SMBNTencrypt()
205 return rc; in SMBNTencrypt()
208 rc = E_P24(p21, c8, p24); in SMBNTencrypt()
209 return rc; in SMBNTencrypt()