Lines Matching refs:passbuf
273 std::string passbuf = base::SysWideToNativeMB(UTF16ToWide(password));
274 StringToUpperASCII(&passbuf);
275 passbuf.resize(14, '\0');
278 DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) , k1);
279 DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) + 7, k2);
280 ZapString(&passbuf);
296 uint8* passbuf;
298 passbuf = static_cast<uint8*>(malloc(len * 2));
299 WriteUnicodeLE(passbuf, password.data(), len);
300 weak_crypto::MD4Sum(passbuf, len * 2, hash);
302 ZapBuf(passbuf, len * 2);
303 free(passbuf);