Lines Matching refs:getLength
56 if ( !aPassword.isEmpty() && aSalt.getLength() && nCount && nHashLength ) in GeneratePBKDF2Hash()
61 aResult.getLength(), in GeneratePBKDF2Hash()
63 aBytePass.getLength(), in GeneratePBKDF2Hash()
65 aSalt.getLength(), in GeneratePBKDF2Hash()
87 if ( aNewHash.getLength() ) in GenerateNewModifyPasswordInfo()
107 if ( !aPassword.isEmpty() && aInfo.getLength() ) in IsModifyPasswordCorrect()
114 for ( sal_Int32 nInd = 0; nInd < aInfo.getLength(); nInd++ ) in IsModifyPasswordCorrect()
127 && aSalt.getLength() && nCount > 0 && aHash.getLength() ) in IsModifyPasswordCorrect()
129 …:Sequence< sal_Int8 > aNewHash = GeneratePBKDF2Hash( aPassword, aSalt, nCount, aHash.getLength() ); in IsModifyPasswordCorrect()
130 …for ( sal_Int32 nInd = 0; nInd < aNewHash.getLength() && nInd < aHash.getLength() && aNewHash[nInd… in IsModifyPasswordCorrect()
132 if ( nInd == aNewHash.getLength() - 1 && nInd == aHash.getLength() - 1 ) in IsModifyPasswordCorrect()
182 sal_uInt32 nLen = aUString.getLength(); in GetWordHashAsUINT32()
241 if ( !aString.isEmpty() && aString.getLength() <= SAL_MAX_UINT16 ) in GetXLHashAsUINT16()
243 for ( sal_Int32 nInd = aString.getLength() - 1; nInd >= 0; nInd-- ) in GetXLHashAsUINT16()
251 nResult ^= aString.getLength(); in GetXLHashAsUINT16()
290 if ( !aPassword.isEmpty() && aDocId.getLength() == 16 ) in GenerateStd97Key()
295 sal_Int32 nPassLen = ::std::min< sal_Int32 >( aPassword.getLength(), 15 ); in GenerateStd97Key()
308 if ( pPassData[0] && aDocId.getLength() == 16 ) in GenerateStd97Key()
336 … rtl_digest_updateMD5( hDigest, (const sal_uInt8*)aDocId.getConstArray(), aDocId.getLength() ); in GenerateStd97Key()
349 rtl_digest_rawMD5 ( hDigest, (sal_uInt8*)aResultKey.getArray(), aResultKey.getLength() ); in GenerateStd97Key()
393 if( rMediaEncData.getLength() > 0 ) in requestAndVerifyDocPassword()
459 if( (aEncryptionData.getLength() > 0) && !bIsDefaultPassword ) in requestAndVerifyDocPassword()