Home
last modified time | relevance | path

Searched refs:ascii_salt (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dgoogle_authenticator.cc434 std::string ascii_salt = SaltAsAscii(); in HashPassword() local
442 reinterpret_cast<const unsigned char*>(ascii_salt.data()), in HashPassword()
443 static_cast<unsigned int>(ascii_salt.length())); in HashPassword()
464 char ascii_salt[2 * salt_len + 1]; in SaltAsAscii() local
467 ascii_salt, in SaltAsAscii()
468 sizeof(ascii_salt))) { in SaltAsAscii()
469 return std::string(ascii_salt, sizeof(ascii_salt) - 1); in SaltAsAscii()
Dparallel_authenticator.cc575 std::string ascii_salt = SaltAsAscii(); in HashPassword() local
583 reinterpret_cast<const unsigned char*>(ascii_salt.data()), in HashPassword()
584 static_cast<unsigned int>(ascii_salt.length())); in HashPassword()
605 char ascii_salt[2 * salt_len + 1]; in SaltAsAscii() local
608 ascii_salt, in SaltAsAscii()
609 sizeof(ascii_salt))) { in SaltAsAscii()
610 return std::string(ascii_salt, sizeof(ascii_salt) - 1); in SaltAsAscii()
/external/chromium_org/chrome/browser/chromeos/login/
Dparallel_authenticator.h159 const std::string& ascii_salt);
Dparallel_authenticator.cc648 const std::string& ascii_salt) { in HashPassword() argument
652 CHECK(!ascii_salt.empty()); in HashPassword()
656 crypto::SHA256HashString(ascii_salt + password, in HashPassword()