Home
last modified time | relevance | path

Searched refs:m_EncryptKey (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp368 CRYPT_AESDecrypt(&aes, m_EncryptKey, ekey.raw_str(), 32); in AES256_CheckPassword()
369 CRYPT_AESSetKey(&aes, m_EncryptKey, sizeof(m_EncryptKey), false); in AES256_CheckPassword()
437 CalcEncryptKey(m_pEncryptDict.Get(), password, m_EncryptKey, m_KeyLen, in CheckUserPassword()
448 CRYPT_ArcFourCryptBlock(ukeybuf, {m_EncryptKey, m_KeyLen}); in CheckUserPassword()
459 tmpkey[j] = m_EncryptKey[j] ^ static_cast<uint8_t>(i); in CheckUserPassword()
560 CRYPT_SHA256Finish(&sha, m_EncryptKey); in OnCreateInternal()
595 CalcEncryptKey(m_pEncryptDict.Get(), user_password, m_EncryptKey, key_len, in OnCreateInternal()
600 CRYPT_ArcFourCryptBlock(tempbuf, {m_EncryptKey, key_len}); in OnCreateInternal()
611 CRYPT_ArcFourCryptBlock(partial_digest_span, {m_EncryptKey, key_len}); in OnCreateInternal()
615 tempkey[j] = m_EncryptKey[j] ^ i; in OnCreateInternal()
[all …]
Dcpdf_crypto_handler.cpp69 m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, in CryptBlock()
120 CRYPT_AESSetKey(&pContext->m_Context, m_EncryptKey, 32, bEncrypt); in CryptStart()
390 memcpy(m_EncryptKey, key, m_KeyLen); in CPDF_CryptoHandler()
401 memcpy(key, m_EncryptKey, m_KeyLen); in PopulateKey()
Dcpdf_crypto_handler.h66 uint8_t m_EncryptKey[32]; variable
Dcpdf_security_handler.h98 uint8_t m_EncryptKey[32]; variable