Home
last modified time | relevance | path

Searched refs:bEncrypt (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp661 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/
DCipherFactoryTest.java66 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/
Dfx_crypt.h15 …AESSetKey(FX_LPVOID context, FX_DWORD blocklen, FX_LPCBYTE key, FX_DWORD keylen, FX_BOOL bEncrypt);
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h754 …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);
Dfpdf_serial.h179 FX_INT32 WriteDirectObj(FX_DWORD objnum, const CPDF_Object* pObj, FX_BOOL bEncrypt = TRUE);
/external/pdfium/core/src/fdrm/crypto/
Dfx_crypt_aes.cpp992 …_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/
Dfpdf_edit_create.cpp1071 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()