Lines Matching refs:sal_uInt8

62 inline void lclRotateLeft( Type& rnValue, sal_uInt8 nBits, sal_uInt8 nWidth )  in lclRotateLeft()
70 sal_Size lclGetLen( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetLen()
77 sal_uInt16 lclGetKey( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetKey()
85 const sal_uInt8* pnChar = pnPassData + nLen - 1; in lclGetKey()
88 sal_uInt8 cChar = *pnChar & 0x7F; in lclGetKey()
89 for( sal_uInt8 nBit = 0; nBit < 8; ++nBit ) in lclGetKey()
102 sal_uInt16 lclGetHash( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetHash()
110 const sal_uInt8* pnChar = pnPassData; in lclGetHash()
114 sal_uInt8 nRot = static_cast< sal_uInt8 >( (nIndex + 1) % 15 ); in lclGetHash()
141 void MSCodec_Xor95::InitKey( const sal_uInt8 pnPassData[ 16 ] ) in InitKey()
148 static const sal_uInt8 spnFillChars[] = in InitKey()
158 const sal_uInt8* pnFillChar = spnFillChars; in InitKey()
164 sal_uInt8* pnKeyChar = mpnKey; in InitKey()
213 void MSCodec_XorXLS95::Decode( sal_uInt8* pnData, sal_Size nBytes ) in Decode()
215 const sal_uInt8* pnCurrKey = mpnKey + mnOffset; in Decode()
216 const sal_uInt8* pnKeyLast = mpnKey + 0x0F; in Decode()
218 for( const sal_uInt8* pnDataEnd = pnData + nBytes; pnData < pnDataEnd; ++pnData ) in Decode()
229 void MSCodec_XorWord95::Decode( sal_uInt8* pnData, sal_Size nBytes ) in Decode()
231 const sal_uInt8* pnCurrKey = mpnKey + mnOffset; in Decode()
232 const sal_uInt8* pnKeyLast = mpnKey + 0x0F; in Decode()
234 for( const sal_uInt8* pnDataEnd = pnData + nBytes; pnData < pnDataEnd; ++pnData ) in Decode()
236 const sal_uInt8 cChar = *pnData ^ *pnCurrKey; in Decode()
278 static void lcl_PrintKeyData(const sal_uInt8* pKeyData, const char* msg)
289 static void lcl_PrintKeyData(const sal_uInt8* /*pKeyData*/, const char* /*msg*/)
296 static void lcl_PrintDigest(const sal_uInt8* pDigest, const char* msg) in lcl_PrintDigest()
304 static void lcl_PrintDigest(const sal_uInt8* /*pDigest*/, const char* /*msg*/) in lcl_PrintDigest() argument
350 const sal_uInt8 pDocId[16]) in InitKey()
371 const sal_uInt8 pSaltData[16], in VerifyKey()
372 const sal_uInt8 pSaltDigest[16]) in VerifyKey()
385 sal_uInt8 pDigest[RTL_DIGEST_LENGTH_MD5]; in VerifyKey()
388 sal_uInt8 pBuffer[16]; in VerifyKey()
407 sal_uInt8 pKeyData[64]; // 512-bit message block in InitCipher()
416 pKeyData[ 5] = sal_uInt8((nCounter >> 0) & 0xff); in InitCipher()
417 pKeyData[ 6] = sal_uInt8((nCounter >> 8) & 0xff); in InitCipher()
418 pKeyData[ 7] = sal_uInt8((nCounter >> 16) & 0xff); in InitCipher()
419 pKeyData[ 8] = sal_uInt8((nCounter >> 24) & 0xff); in InitCipher()
441 bool MSCodec_Std97::CreateSaltDigest( const sal_uInt8 nSaltData[16], sal_uInt8 nSaltDigest[16] ) in CreateSaltDigest()
450 sal_uInt8 pDigest[RTL_DIGEST_LENGTH_MD5]; in CreateSaltDigest()
464 sal_uInt8 *pBuffer, sal_Size nBufLen) in Encode()
476 sal_uInt8 *pBuffer, sal_Size nBufLen) in Decode()
488 sal_uInt8 pnDummy[ 1024 ]; in Skip()
502 void MSCodec_Std97::GetDigestFromSalt( const sal_uInt8 pSaltData[16], sal_uInt8 pDigest[16] ) in GetDigestFromSalt()
504 sal_uInt8 pBuffer[64]; in GetDigestFromSalt()
505 sal_uInt8 pDigestLocal[16]; in GetDigestFromSalt()
530 const sal_uInt8 pSalt[16], in GetEncryptKey()
531 sal_uInt8 pSaltData[16], in GetEncryptKey()
532 sal_uInt8 pSaltDigest[16]) in GetEncryptKey()
536 sal_uInt8 pDigest[RTL_DIGEST_LENGTH_MD5]; in GetEncryptKey()
537 sal_uInt8 pBuffer[64]; in GetEncryptKey()
561 void MSCodec_Std97::GetDocId( sal_uInt8 pDocId[16] ) in GetDocId()