Lines Matching refs:a_pstrPassword
44 * @param a_pstrPassword Password to inspect.
46 bool VBoxIsPasswordHashed(RTCString const *a_pstrPassword)
49 if (!a_pstrPassword->startsWith(s_szHashedPwPrefix))
53 const char *pszSalt = a_pstrPassword->c_str() + sizeof(s_szHashedPwPrefix) - 1;
74 * @param a_pstrPassword Plain text password to hash. This is both
77 void VBoxHashPassword(RTCString *a_pstrPassword)
79 AssertReturnVoid(!VBoxIsPasswordHashed(a_pstrPassword));
82 if (a_pstrPassword->isEmpty())
96 RTSha512(a_pstrPassword->c_str(), a_pstrPassword->length(), abHash);
101 *a_pstrPassword = szHashedPw;