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.cpp114 CheckPassword(password, true, m_EncryptKey, m_KeyLen)) { in CheckSecurity()
118 return CheckPassword(password, false, m_EncryptKey, m_KeyLen); in CheckSecurity()
532 CRYPT_SHA256Update(&sha, m_EncryptKey, 32); in OnCreateInternal()
534 CRYPT_SHA256Finish(&sha, m_EncryptKey); in OnCreateInternal()
535 AES256_SetPassword(pEncryptDict, user_password, false, m_EncryptKey); in OnCreateInternal()
537 AES256_SetPassword(pEncryptDict, owner_password_copy, true, m_EncryptKey); in OnCreateInternal()
540 m_EncryptKey); in OnCreateInternal()
581 CalcEncryptKey(m_pEncryptDict.Get(), user_password, m_EncryptKey, key_len, in OnCreateInternal()
586 CRYPT_ArcFourCryptBlock(tempbuf, 32, m_EncryptKey, key_len); in OnCreateInternal()
597 CRYPT_ArcFourCryptBlock(digest, 16, m_EncryptKey, key_len); in OnCreateInternal()
[all …]
Dcpdf_crypto_handler.cpp77 m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, in CryptBlock()
128 CRYPT_AESSetKey(&pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt); in CryptStart()
408 memcpy(m_EncryptKey, key, m_KeyLen); in CPDF_CryptoHandler()
419 memcpy(key, m_EncryptKey, m_KeyLen); in PopulateKey()
Dcpdf_crypto_handler.h72 uint8_t m_EncryptKey[32]; variable
Dcpdf_security_handler.h95 uint8_t m_EncryptKey[32]; variable