Searched refs:pnHash (Results 1 – 1 of 1) sorted by relevance
| /trunk/main/oox/source/core/ |
| H A D | encryption.cxx | 142 static void deriveKey( const sal_uInt8* pnHash, sal_uInt32 nHashLen, sal_uInt8* pnKeyDerived, sal_u… in deriveKey() argument 147 pnBuffer[ i ] ^= pnHash[ i ]; in deriveKey() 157 pnBuffer[ i ] ^= pnHash[ i ]; in deriveKey() 189 sal_uInt8* pnHash = new sal_uInt8[ nHashSize ]; in verifyPassword() local 190 aError = rtl_digest_get( aDigest, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 195 ByteOrderConverter::writeLittleEndian( pnHash, i ); in verifyPassword() 197 aError = rtl_digest_update( aDigest, pnHash, nHashSize ); in verifyPassword() 198 aError = rtl_digest_get( aDigest, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 202 memmove( pnHash, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 203 memset( pnHash + RTL_DIGEST_LENGTH_SHA1, 0, 4 ); in verifyPassword() [all …]
|