Home
last modified time | relevance | path

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

/aosp_15_r20/external/pdfium/core/fpdfapi/parser/
H A Dcpdf_security_handler.cpp374 CRYPT_AESDecrypt(&aes, m_EncryptKey, ekey.raw_str(), 32); in AES256_CheckPassword()
375 CRYPT_AESSetKey(&aes, m_EncryptKey, sizeof(m_EncryptKey)); in AES256_CheckPassword()
443 CalcEncryptKey(m_pEncryptDict.Get(), password, m_EncryptKey, m_KeyLen, in CheckUserPassword()
454 CRYPT_ArcFourCryptBlock(ukeybuf, {m_EncryptKey, m_KeyLen}); in CheckUserPassword()
465 tmpkey[j] = m_EncryptKey[j] ^ static_cast<uint8_t>(i); in CheckUserPassword()
566 CRYPT_SHA256Finish(&sha, m_EncryptKey); in OnCreateInternal()
601 CalcEncryptKey(m_pEncryptDict.Get(), user_password, m_EncryptKey, key_len, in OnCreateInternal()
606 CRYPT_ArcFourCryptBlock(tempbuf, {m_EncryptKey, key_len}); in OnCreateInternal()
617 CRYPT_ArcFourCryptBlock(partial_digest_span, {m_EncryptKey, key_len}); in OnCreateInternal()
621 tempkey[j] = m_EncryptKey[j] ^ i; in OnCreateInternal()
[all …]
H A Dcpdf_crypto_handler.cpp71 m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen); in EncryptContent()
111 CRYPT_AESSetKey(&pContext->m_Context, m_EncryptKey, 32); in DecryptStart()
326 memcpy(m_EncryptKey, key, m_KeyLen); in CPDF_CryptoHandler()
337 memcpy(key, m_EncryptKey, m_KeyLen); in PopulateKey()
H A Dcpdf_crypto_handler.h62 uint8_t m_EncryptKey[32] = {}; variable
H A Dcpdf_security_handler.h93 uint8_t m_EncryptKey[32] = {}; variable