Searched refs:m_KeyLen (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_crypto_handler.cpp | 57 if (m_Cipher != FXCIPHER_AES || m_KeyLen != 32) { in CryptBlock() 62 memcpy(key1 + m_KeyLen + 5, "sAlT", 4); in CryptBlock() 63 size_t len = m_Cipher == FXCIPHER_AES ? m_KeyLen + 9 : m_KeyLen + 5; in CryptBlock() 65 realkeylen = std::min(m_KeyLen + 5, sizeof(realkey)); in CryptBlock() 69 m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, in CryptBlock() 116 if (m_Cipher == FXCIPHER_AES && m_KeyLen == 32) { in CryptStart() 133 memcpy(key1 + m_KeyLen + 5, "sAlT", 4); in CryptStart() 136 size_t len = m_Cipher == FXCIPHER_AES ? m_KeyLen + 9 : m_KeyLen + 5; in CryptStart() 138 size_t realkeylen = std::min(m_KeyLen + 5, sizeof(realkey)); in CryptStart() 383 : m_KeyLen(std::min<size_t>(keylen, 32)), m_Cipher(cipher) { in CPDF_CryptoHandler() [all …]
|
D | cpdf_security_handler.cpp | 285 return LoadCryptInfo(pEncryptDict, ByteString(), &m_Cipher, &m_KeyLen); in LoadDict() 292 return LoadCryptInfo(pEncryptDict, strf_name, &m_Cipher, &m_KeyLen); in LoadDict() 315 m_KeyLen = *key_len; in LoadDict() 437 CalcEncryptKey(m_pEncryptDict.Get(), password, m_EncryptKey, m_KeyLen, in CheckUserPassword() 448 CRYPT_ArcFourCryptBlock(ukeybuf, {m_EncryptKey, m_KeyLen}); in CheckUserPassword() 458 for (size_t j = 0; j < m_KeyLen; j++) in CheckUserPassword() 460 CRYPT_ArcFourCryptBlock(test, {tmpkey, m_KeyLen}); in CheckUserPassword() 488 size_t copy_len = std::min(m_KeyLen, sizeof(digest)); in GetUserPassword() 495 CRYPT_ArcFourCryptBlock(okey_span, {enckey, m_KeyLen}); in GetUserPassword() 499 for (size_t j = 0; j < m_KeyLen; j++) in GetUserPassword() [all …]
|
D | cpdf_crypto_handler.h | 63 const size_t m_KeyLen; variable
|
D | cpdf_security_handler.h | 93 size_t m_KeyLen = 0; variable
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 30 int m_KeyLen; member 42 m_KeyLen = count * sizeof(uint32_t); in Generate() 98 ByteString FaceGlyphsKey(keygen.m_Key, keygen.m_KeyLen); in LoadGlyph()
|