Lines Matching refs:size

210     deriveKey( pnHash, RTL_DIGEST_LENGTH_SHA1, &key[ 0 ], key.size() );  in verifyPassword()
214 …if( checkEncryptionData( &key[ 0 ], key.size(), mpnEncrVerifier, sizeof( mpnEncrVerifier ), mpnEnc… in verifyPassword()
217 …nKey" ) ] <<= Sequence< sal_Int8 >( reinterpret_cast< const sal_Int8* >( &key[ 0 ] ), key.size() ); in verifyPassword()
457 if ( stack.size() == 1 && (stack[ 0 ] == ENCRYPTION_TOKEN( encryption )) ) in startFastElement()
462 if ( stack.size() == 1 && (stack[ 0 ] == ENCRYPTION_TOKEN( encryption )) ) in startFastElement()
473 if ( stack.size() == 3 in startFastElement()
700 digest.update( &salt[ 0 ], salt.size() ); in hashPassword()
701 digest.update( &passwordLE[ 0 ], passwordLE.size() ); in hashPassword()
717 static void toBlock36( vector< sal_uInt8 >& digest, sal_uInt32 size ) in toBlock36() argument
719 if( digest.size() < size ) in toBlock36()
721 sal_uInt32 i = digest.size(); in toBlock36()
722 digest.resize( size ); in toBlock36()
723 for (; i < size; i++) in toBlock36()
727 digest.resize( size ); in toBlock36()
731 static void toBlock0( vector< sal_uInt8 >& digest, sal_uInt32 size ) in toBlock0() argument
733 if( digest.size() < size ) in toBlock0()
735 sal_uInt32 i = digest.size(); in toBlock0()
736 digest.resize( size ); in toBlock0()
737 for (; i < size; i++) in toBlock0()
741 digest.resize( size ); in toBlock0()
753 digest.update( &passwordHash[ 0 ], passwordHash.size() ); in generateKey()
754 digest.update( &blockKey[ 0 ], blockKey.size() ); in generateKey()
780 digest.update( &salt[ 0 ], salt.size() ); in generateIv()
781 digest.update( &blockKey[ 0 ], blockKey.size() ); in generateIv()
830 vector< sal_uInt8 > zeroedInput( inputKey.size() ); in hashInput()
832 toBlock0( zeroedInput, getNextBlockSize( zeroedInput.size(), blockSize ) ); in hashInput()
833 …All( decryptionAlgorithm, &iv[ 0 ], &intermediateKey[ 0 ], &zeroedInput[ 0 ], zeroedInput.size() ); in hashInput()
852 verifierDigest.update( &encryptedVerifierHash[ 0 ], encryptedVerifierHash.size() ); in verifyPassword()
882 …&encryptionKey[ 0 ], &dataIntegrity.encryptedHmacKey[ 0 ], dataIntegrity.encryptedHmacKey.size() ); in verifyPassword()
888 …ryptionKey[ 0 ], &dataIntegrity.encryptedHmacValue[ 0 ], dataIntegrity.encryptedHmacValue.size() ); in verifyPassword()