Home
last modified time | relevance | path

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

/AOO41X/main/sc/source/filter/excel/
H A Dxistream.cxx645 SVBT16 pnBuffer; in operator >>() local
646 mxDecrypter->Read( mrStrm, pnBuffer, 2 ); in operator >>()
647 rnValue = static_cast< sal_Int16 >( SVBT16ToShort( pnBuffer ) ); in operator >>()
662 SVBT16 pnBuffer; in operator >>() local
663 mxDecrypter->Read( mrStrm, pnBuffer, 2 ); in operator >>()
664 rnValue = SVBT16ToShort( pnBuffer ); in operator >>()
679 SVBT32 pnBuffer; in operator >>() local
680 mxDecrypter->Read( mrStrm, pnBuffer, 4 ); in operator >>()
681 rnValue = static_cast< sal_Int32 >( SVBT32ToUInt32( pnBuffer ) ); in operator >>()
696 SVBT32 pnBuffer; in operator >>() local
[all …]
/AOO41X/main/oox/source/core/
H A Dbinarycodec.cxx341 sal_uInt8 pnBuffer[ 64 ]; in verifyKey() local
344 rtl_cipher_decode( mhCipher, pnVerifier, 16, pnBuffer, sizeof( pnBuffer ) ); in verifyKey()
346 pnBuffer[ 16 ] = 0x80; in verifyKey()
347 (void)memset( pnBuffer + 17, 0, sizeof( pnBuffer ) - 17 ); in verifyKey()
348 pnBuffer[ 56 ] = 0x80; in verifyKey()
351 rtl_digest_updateMD5( mhDigest, pnBuffer, sizeof( pnBuffer ) ); in verifyKey()
355 rtl_cipher_decode( mhCipher, pnVerifierHash, 16, pnBuffer, sizeof( pnBuffer ) ); in verifyKey()
358 bool bResult = memcmp( pnBuffer, pnDigest, sizeof( pnDigest ) ) == 0; in verifyKey()
361 (void)memset( pnBuffer, 0, sizeof( pnBuffer ) ); in verifyKey()
H A Dfilterdetect.cxx320 sal_uInt8 pnBuffer[ 64 ]; in lclDeriveKey() local
321 memset( pnBuffer, 0x36, sizeof( pnBuffer ) ); in lclDeriveKey()
323 pnBuffer[ i ] ^= pnHash[ i ]; in lclDeriveKey()
326 rtlDigestError aError = rtl_digest_update( aDigest, pnBuffer, sizeof( pnBuffer ) ); in lclDeriveKey()
331 memset( pnBuffer, 0x5C, sizeof( pnBuffer ) ); in lclDeriveKey()
333 pnBuffer[ i ] ^= pnHash[ i ]; in lclDeriveKey()
336 aError = rtl_digest_update( aDigest, pnBuffer, sizeof( pnBuffer ) ); in lclDeriveKey()
396 sal_uInt8* pnBuffer = new sal_uInt8[ nBufferSize ]; in lclGenerateEncryptionKey() local
397 memcpy( pnBuffer, rEncrInfo.mpnSalt, rEncrInfo.mnSaltSize ); in lclGenerateEncryptionKey()
399 sal_uInt8* pnPasswordLoc = pnBuffer + rEncrInfo.mnSaltSize; in lclGenerateEncryptionKey()
[all …]
/AOO41X/main/oox/source/xls/
H A Dbiffoutputstream.cxx136 const sal_uInt8* pnBuffer = reinterpret_cast< const sal_uInt8* >( pMem ); in writeMemory() local
141 maRecBuffer.write( pnBuffer, nBlockSize ); in writeMemory()
142 pnBuffer += nBlockSize; in writeMemory()
H A Dbiffinputstream.cxx313 sal_uInt8* pnBuffer = reinterpret_cast< sal_uInt8* >( opMem ); in readMemory() local
322 maRecBuffer.read( pnBuffer, nReadSize ); in readMemory()
324 pnBuffer += nReadSize; in readMemory()