Searched refs:bEncrypt (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 661 void CPDF_StandardCryptoHandler::CryptBlock(FX_BOOL bEncrypt, FX_DWORD objnum, FX_DWORD gennum, FX_… in CryptBlock() argument 690 … CRYPT_AESSetKey(m_pAESContext, 16, m_KeyLen == 32 ? m_EncryptKey : realkey, m_KeyLen, bEncrypt); in CryptBlock() 691 if (bEncrypt) { in CryptBlock() 725 FX_LPVOID CPDF_StandardCryptoHandler::CryptStart(FX_DWORD objnum, FX_DWORD gennum, FX_BOOL bEncrypt) in CryptStart() argument 734 CRYPT_AESSetKey(pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt); in CryptStart() 735 if (bEncrypt) { in CryptStart() 760 CRYPT_AESSetKey(pContext->m_Context, 16, realkey, 16, bEncrypt); in CryptStart() 761 if (bEncrypt) { in CryptStart() 773 …X_LPVOID context, FX_LPCBYTE src_buf, FX_DWORD src_size, CFX_BinaryBuf& dest_buf, FX_BOOL bEncrypt) in CryptStream() argument 789 if (pContext->m_bIV && bEncrypt) { in CryptStream() [all …]
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/crypto/ |
D | CipherFactoryTest.java | 66 Cipher bEncrypt = CipherFactory.getInstance().getCipher(Cipher.ENCRYPT_MODE); in testCipherUse() local 67 byte[] output = sameOutputDifferentCiphers(INPUT_DATA, aEncrypt, bEncrypt); in testCipherUse()
|
/external/pdfium/core/include/fdrm/ |
D | fx_crypt.h | 15 …AESSetKey(FX_LPVOID context, FX_DWORD blocklen, FX_LPCBYTE key, FX_DWORD keylen, FX_BOOL bEncrypt);
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 754 …virtual void CryptBlock(FX_BOOL bEncrypt, FX_DWORD objnum, FX_DWORD gennum, FX_LPCBYTE src_buf, F… 756 virtual FX_LPVOID CryptStart(FX_DWORD objnum, FX_DWORD gennum, FX_BOOL bEncrypt); 757 …_LPVOID context, FX_LPCBYTE src_buf, FX_DWORD src_size, CFX_BinaryBuf& dest_buf, FX_BOOL bEncrypt); 758 virtual FX_BOOL CryptFinish(FX_LPVOID context, CFX_BinaryBuf& dest_buf, FX_BOOL bEncrypt);
|
D | fpdf_serial.h | 179 FX_INT32 WriteDirectObj(FX_DWORD objnum, const CPDF_Object* pObj, FX_BOOL bEncrypt = TRUE);
|
/external/pdfium/core/src/fdrm/crypto/ |
D | fx_crypt_aes.cpp | 992 …_AESSetKey(FX_LPVOID context, FX_DWORD blocklen, FX_LPCBYTE key, FX_DWORD keylen, FX_BOOL bEncrypt) in CRYPT_AESSetKey() argument
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_create.cpp | 1071 FX_INT32 CPDF_Creator::WriteDirectObj(FX_DWORD objnum, const CPDF_Object* pObj, FX_BOOL bEncrypt) in WriteDirectObj() argument 1101 if (m_pCryptoHandler == NULL || !bEncrypt) { in WriteDirectObj()
|