Searched refs:passbuf (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/net/http/
H A Dhttp_auth_handler_ntlm_portable.cc263 std::string passbuf = base::SysWideToNativeMB(base::UTF16ToWide(password)); local
264 StringToUpperASCII(&passbuf);
265 passbuf.resize(14, '\0');
268 DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) , k1);
269 DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) + 7, k2);
270 ZapString(&passbuf);
286 uint8* passbuf; local
288 passbuf = static_cast<uint8*>(malloc(len * 2));
289 WriteUnicodeLE(passbuf, password.data(), len);
290 weak_crypto::MD4Sum(passbuf, le
[all...]
/external/ppp/pppd/plugins/radius/
H A Dsendserver.c38 unsigned char passbuf[MAX(AUTH_PASS_LEN, CHAP_VALUE_LENGTH)]; local
103 memset ((char *) passbuf, '\0', AUTH_PASS_LEN);
104 memcpy ((char *) passbuf, vp->strvalue, (size_t) length);
120 *buf++ ^= passbuf[pc];
137 memset ((char *) passbuf, '\0', CHAP_VALUE_LENGTH);
138 memcpy ((char *) passbuf, vp->strvalue, (size_t) length);
149 *buf++ ^= passbuf[i];
/external/chromium_org/third_party/webrtc/base/
H A Dhttpcommon.cc947 unsigned char userbuf[256], passbuf[256], domainbuf[16]; local
963 _min(sizeof(passbuf) - 1, password.GetLength()));
964 memcpy(passbuf, sensitive, auth_id.PasswordLength);
965 passbuf[auth_id.PasswordLength] = 0;
976 _min(sizeof(passbuf) - 1, password.GetLength()));
977 memcpy(passbuf, sensitive, auth_id.PasswordLength);
978 passbuf[auth_id.PasswordLength] = 0;
984 auth_id.Password = passbuf;

Completed in 390 milliseconds