Lines Matching refs:nInd
114 for ( sal_Int32 nInd = 0; nInd < aInfo.getLength(); nInd++ ) in IsModifyPasswordCorrect() local
116 …if ( aInfo[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "algorithm-name" ) ) )… in IsModifyPasswordCorrect()
117 aInfo[nInd].Value >>= sAlgorithm; in IsModifyPasswordCorrect()
118 … else if ( aInfo[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "salt" ) ) ) ) in IsModifyPasswordCorrect()
119 aInfo[nInd].Value >>= aSalt; in IsModifyPasswordCorrect()
120 …else if ( aInfo[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "iteration-count"… in IsModifyPasswordCorrect()
121 aInfo[nInd].Value >>= nCount; in IsModifyPasswordCorrect()
122 … else if ( aInfo[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "hash" ) ) ) ) in IsModifyPasswordCorrect()
123 aInfo[nInd].Value >>= aHash; in IsModifyPasswordCorrect()
130 …for ( sal_Int32 nInd = 0; nInd < aNewHash.getLength() && nInd < aHash.getLength() && aNewHash[nInd… in IsModifyPasswordCorrect() local
132 if ( nInd == aNewHash.getLength() - 1 && nInd == aHash.getLength() - 1 ) in IsModifyPasswordCorrect()
193 for ( sal_uInt32 nInd = 0; nInd < nLen; nInd++ ) in GetWordHashAsUINT32() local
197 char nHighChar = (char)( pStr[nInd] >> 8 ); in GetWordHashAsUINT32()
198 char nLowChar = (char)( pStr[nInd] & 0xFF ); in GetWordHashAsUINT32()
204 nHighResult = nHighResult ^ pEncryptionMatrix[15 - nLen + nInd][nMatrixInd]; in GetWordHashAsUINT32()
243 for ( sal_Int32 nInd = aString.getLength() - 1; nInd >= 0; nInd-- ) in GetXLHashAsUINT16() local
246 nResult ^= aString.getStr()[nInd]; in GetXLHashAsUINT16()
313 sal_Int32 nInd = 0; in GenerateStd97Key() local
316 for ( nInd = 0; nInd < 16 && pPassData[nInd]; nInd++) in GenerateStd97Key()
318 pKeyData[2*nInd] = sal::static_int_cast< sal_uInt8 >( (pPassData[nInd] >> 0) & 0xff ); in GenerateStd97Key()
319 … pKeyData[2*nInd + 1] = sal::static_int_cast< sal_uInt8 >( (pPassData[nInd] >> 8) & 0xff ); in GenerateStd97Key()
322 pKeyData[2*nInd] = 0x80; in GenerateStd97Key()
323 pKeyData[56] = sal::static_int_cast< sal_uInt8 >( nInd << 4 ); in GenerateStd97Key()
333 for ( nInd = 0; nInd < 16; nInd++ ) in GenerateStd97Key()