Home
last modified time | relevance | path

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

/aoo42x/main/svl/source/misc/
H A DPasswordHelper.cxx47 sal_Char* pCharBuffer = new sal_Char[nSize * sizeof(sal_Unicode)]; in GetHashPasswordLittleEndian() local
52 pCharBuffer[2 * i] = static_cast< sal_Char >(ch & 0xFF); in GetHashPasswordLittleEndian()
53 pCharBuffer[2 * i + 1] = static_cast< sal_Char >(ch >> 8); in GetHashPasswordLittleEndian()
56 GetHashPassword(rPassHash, pCharBuffer, nSize * sizeof(sal_Unicode)); in GetHashPasswordLittleEndian()
58 delete[] pCharBuffer; in GetHashPasswordLittleEndian()
64 sal_Char* pCharBuffer = new sal_Char[nSize * sizeof(sal_Unicode)]; in GetHashPasswordBigEndian() local
69 pCharBuffer[2 * i] = static_cast< sal_Char >(ch >> 8); in GetHashPasswordBigEndian()
70 pCharBuffer[2 * i + 1] = static_cast< sal_Char >(ch & 0xFF); in GetHashPasswordBigEndian()
73 GetHashPassword(rPassHash, pCharBuffer, nSize * sizeof(sal_Unicode)); in GetHashPasswordBigEndian()
75 delete[] pCharBuffer; in GetHashPasswordBigEndian()

Completed in 7 milliseconds