Searched refs:aSalt (Results 1 – 2 of 2) sorted by relevance
/aoo4110/main/comphelper/source/misc/ |
H A D | docpasswordhelper.cxx | 52 …2Hash( const ::rtl::OUString& aPassword, const uno::Sequence< sal_Int8 >& aSalt, sal_Int32 nCount,… in GeneratePBKDF2Hash() argument 56 if ( !aPassword.isEmpty() && aSalt.getLength() && nCount && nHashLength ) in GeneratePBKDF2Hash() 64 reinterpret_cast < const sal_uInt8 * > ( aSalt.getConstArray() ), in GeneratePBKDF2Hash() 65 aSalt.getLength(), in GeneratePBKDF2Hash() 83 uno::Sequence< sal_Int8 > aSalt = GenerateRandomByteSequence( 16 ); in GenerateNewModifyPasswordInfo() local 86 uno::Sequence< sal_Int8 > aNewHash = GeneratePBKDF2Hash( aPassword, aSalt, nCount, 16 ); in GenerateNewModifyPasswordInfo() 93 aResult[1].Value <<= aSalt; in GenerateNewModifyPasswordInfo() 110 uno::Sequence< sal_Int8 > aSalt; in IsModifyPasswordCorrect() local 119 aInfo[nInd].Value >>= aSalt; in IsModifyPasswordCorrect() 127 && aSalt.getLength() && nCount > 0 && aHash.getLength() ) in IsModifyPasswordCorrect() [all …]
|
/aoo4110/main/package/source/zippackage/ |
H A D | ZipPackageFolder.cxx | 467 … uno::Sequence < sal_Int8 > aSalt( 16 ), aVector( rInfo.pStream->GetBlockSize() ); in saveChild() local 468 rtl_random_getBytes ( rRandomPool, aSalt.getArray(), 16 ); in saveChild() 476 rInfo.pStream->setSalt ( aSalt ); in saveChild()
|
Completed in 20 milliseconds