Home
last modified time | relevance | path

Searched refs:m_KeyLen (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_crypto_handler.cpp61 if (m_Cipher != FXCIPHER_AES || m_KeyLen != 32) { in CryptBlock()
66 memcpy(key1 + m_KeyLen + 5, "sAlT", 4); in CryptBlock()
69 key1, m_Cipher == FXCIPHER_AES ? m_KeyLen + 9 : m_KeyLen + 5, realkey); in CryptBlock()
70 realkeylen = m_KeyLen + 5; in CryptBlock()
77 m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, in CryptBlock()
124 if (m_Cipher == FXCIPHER_AES && m_KeyLen == 32) { in CryptStart()
141 memcpy(key1 + m_KeyLen + 5, "sAlT", 4); in CryptStart()
145 key1, m_Cipher == FXCIPHER_AES ? m_KeyLen + 9 : m_KeyLen + 5, realkey); in CryptStart()
146 int realkeylen = m_KeyLen + 5; in CryptStart()
401 : m_KeyLen(std::min(keylen, 32)), m_Cipher(cipher) { in CPDF_CryptoHandler()
[all …]
Dcpdf_security_handler.cpp92 m_KeyLen(0), in CPDF_SecurityHandler()
114 CheckPassword(password, true, m_EncryptKey, m_KeyLen)) { in CheckSecurity()
118 return CheckPassword(password, false, m_EncryptKey, m_KeyLen); in CheckSecurity()
177 return LoadCryptInfo(pEncryptDict, ByteString(), m_Cipher, m_KeyLen); in LoadDict()
184 return LoadCryptInfo(pEncryptDict, strf_name, m_Cipher, m_KeyLen); in LoadDict()
207 m_KeyLen = key_len; in LoadDict()
486 for (int j = 0; j < m_KeyLen; j++) in GetUserPassword()
711 pdfium::MakeUnique<CPDF_CryptoHandler>(m_Cipher, m_EncryptKey, m_KeyLen); in InitCryptoHandler()
Dcpdf_crypto_handler.h73 int m_KeyLen; variable
Dcpdf_security_handler.h96 int m_KeyLen; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp25 int m_KeyLen; member
36 m_KeyLen = count * sizeof(uint32_t); in Generate()
94 ByteString FaceGlyphsKey(keygen.m_Key, keygen.m_KeyLen); in LoadGlyph()