Searched refs:a_pstrPassword (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Main/include/
H A DHashedPw.h23 bool VBoxIsPasswordHashed(RTCString const *a_pstrPassword);
24 void VBoxHashPassword(RTCString *a_pstrPassword);
/vbox/src/VBox/Main/src-all/
H A DHashedPw.cpp44 * @param a_pstrPassword Password to inspect.
46 bool VBoxIsPasswordHashed(RTCString const *a_pstrPassword) argument
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) argument
79 AssertReturnVoid(!VBoxIsPasswordHashed(a_pstrPassword));
82 if (a_pstrPassword->isEmpty())
96 RTSha512(a_pstrPassword->c_str(), a_pstrPassword
[all...]

Completed in 42 milliseconds