Searched refs:pnHash (Results 1 – 1 of 1) sorted by relevance
/trunk/main/oox/source/core/ |
H A D | encryption.cxx | 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 195 ByteOrderConverter::writeLittleEndian( pnHash, i ); in verifyPassword() 197 aError = rtl_digest_update( aDigest, pnHash, nHashSize ); in verifyPassword() 202 memmove( pnHash, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 203 memset( pnHash + RTL_DIGEST_LENGTH_SHA1, 0, 4 ); in verifyPassword() 205 aError = rtl_digest_update( aDigest, pnHash, nHashSize ); in verifyPassword() 206 aError = rtl_digest_get( aDigest, pnHash, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 210 deriveKey( pnHash, RTL_DIGEST_LENGTH_SHA1, &key[ 0 ], key.size() ); in verifyPassword() [all …]
|
Completed in 19 milliseconds