Searched refs:ascii_salt (Results 1 – 4 of 4) sorted by relevance
434 std::string ascii_salt = SaltAsAscii(); in HashPassword() local442 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() local467 ascii_salt, in SaltAsAscii()468 sizeof(ascii_salt))) { in SaltAsAscii()469 return std::string(ascii_salt, sizeof(ascii_salt) - 1); in SaltAsAscii()
575 std::string ascii_salt = SaltAsAscii(); in HashPassword() local583 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() local608 ascii_salt, in SaltAsAscii()609 sizeof(ascii_salt))) { in SaltAsAscii()610 return std::string(ascii_salt, sizeof(ascii_salt) - 1); in SaltAsAscii()
159 const std::string& ascii_salt);
648 const std::string& ascii_salt) { in HashPassword() argument652 CHECK(!ascii_salt.empty()); in HashPassword()656 crypto::SHA256HashString(ascii_salt + password, in HashPassword()