Home
last modified time | relevance | path

Searched refs:m_decryptor (Results 1 – 19 of 19) sorted by relevance

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dbinlog_istream.cc97 m_decryptor = encryption_header->get_decryptor(); in open()
98 if (m_decryptor->open(password, encryption_header->get_header_size())) { in open()
99 m_decryptor.reset(nullptr); in open()
110 m_decryptor.reset(nullptr); in close()
116 if (ret > 0 && m_decryptor->decrypt(buffer, buffer, ret)) ret = -1; in read()
123 bool res = m_decryptor->set_stream_offset(offset); in seek()
124 if (!res) res = m_down_istream->seek(offset + m_decryptor->get_header_size()); in seek()
129 return m_down_istream->length() - m_decryptor->get_header_size(); in length()
H A Dbinlog_ostream.cc70 m_io_cache.m_decryptor == nullptr) && in write()
73 m_io_cache.m_decryptor != nullptr) && in write()
165 m_io_cache.m_decryptor == nullptr); in begin()
202 if (m_io_cache.m_encryptor != nullptr && m_io_cache.m_decryptor != nullptr) in enable_encryption()
217 m_io_cache.m_decryptor = decryptor.release(); in enable_encryption()
227 if (m_io_cache.m_decryptor != nullptr) { in disable_encryption()
228 delete m_io_cache.m_decryptor; in disable_encryption()
229 m_io_cache.m_decryptor = nullptr; in disable_encryption()
235 m_io_cache.m_decryptor != nullptr); in setup_ciphers_password()
245 m_io_cache.m_decryptor->close(); in setup_ciphers_password()
[all …]
H A Dbinlog_istream.h146 std::unique_ptr<Stream_cipher> m_decryptor;
/dports/sysutils/fusefs-securefs/securefs-0.12.0/sources/
H A Dlite_stream.cpp57 m_decryptor.SetKeyWithIV( in AESGCMCryptStream()
97 bool success = m_decryptor.DecryptAndVerify(static_cast<byte*>(output), in read_block()
H A Dlite_stream.h25 CryptoPP::GCM<CryptoPP::AES>::Decryption m_decryptor;
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/
H A Dmf_iocache.cc1536 if (info->m_decryptor != nullptr) delete info->m_decryptor; in end_io_cache()
1636 if (cache->m_decryptor != nullptr) cache->m_decryptor->set_stream_offset(pos); in mysql_encryption_file_seek()
1643 if (ret != MY_FILE_ERROR && cache->m_decryptor != nullptr) in mysql_encryption_file_read()
1644 cache->m_decryptor->decrypt(buffer, buffer, ret ? ret : count); in mysql_encryption_file_read()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cryptopp/
H A Dcryptlib.cpp834 : m_rng(rng), m_decryptor(decryptor), m_parameters(parameters) in PK_DefaultDecryptionFilter()
850 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength); in Put2()
855 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters); in Put2()
857 throw InvalidCiphertext(m_decryptor.AlgorithmName() + ": invalid ciphertext"); in Put2()
866 const PK_Decryptor &m_decryptor; member in PK_DefaultDecryptionFilter
H A Ddefault.h158 member_ptr<FilterWithBufferedInput> m_decryptor; variable
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/source_exporter/wxPdfDocument/src/
H A Dpdfparser.cpp83 m_decryptor = NULL; in wxPdfParser()
152 if (m_decryptor != NULL) in ~wxPdfParser()
154 delete m_decryptor; in ~wxPdfParser()
415 m_decryptor = new wxPdfEncrypt(); in SetupDecryptor()
416 …if (!m_decryptor->Authenticate(documentID, m_password, uValue, oValue, pValue, lengthValue, rValue… in SetupDecryptor()
1067 m_decryptor->Encrypt(m_objNum, m_objGen, token); in ParseObject()
1450m_decryptor->Encrypt(stream->GetNumber(), stream->GetGeneration(), buffer, (unsigned int) size); in GetStreamBytesRaw()
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dcryptlib.cpp894 : m_rng(rng), m_decryptor(decryptor), m_parameters(parameters) in PK_DefaultDecryptionFilter()
910 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength); in Put2()
915 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters); in Put2()
917 throw InvalidCiphertext(m_decryptor.AlgorithmName() + ": invalid ciphertext"); in Put2()
926 const PK_Decryptor &m_decryptor; member in PK_DefaultDecryptionFilter
H A Ddefault.h152 member_ptr<FilterWithBufferedInput> m_decryptor; variable
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dcryptlib.cpp894 : m_rng(rng), m_decryptor(decryptor), m_parameters(parameters) in PK_DefaultDecryptionFilter()
910 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength); in Put2()
915 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters); in Put2()
917 throw InvalidCiphertext(m_decryptor.AlgorithmName() + ": invalid ciphertext"); in Put2()
926 const PK_Decryptor &m_decryptor; member in PK_DefaultDecryptionFilter
H A Ddefault.h152 member_ptr<FilterWithBufferedInput> m_decryptor; variable
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dcryptlib.cpp894 : m_rng(rng), m_decryptor(decryptor), m_parameters(parameters) in PK_DefaultDecryptionFilter()
910 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength); in Put2()
915 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters); in Put2()
917 throw InvalidCiphertext(m_decryptor.AlgorithmName() + ": invalid ciphertext"); in Put2()
926 const PK_Decryptor &m_decryptor; member in PK_DefaultDecryptionFilter
H A Ddefault.h152 member_ptr<FilterWithBufferedInput> m_decryptor; variable
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dcryptlib.cpp894 : m_rng(rng), m_decryptor(decryptor), m_parameters(parameters) in PK_DefaultDecryptionFilter()
910 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength); in Put2()
915 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters); in Put2()
917 throw InvalidCiphertext(m_decryptor.AlgorithmName() + ": invalid ciphertext"); in Put2()
926 const PK_Decryptor &m_decryptor; member in PK_DefaultDecryptionFilter
H A Ddefault.h152 member_ptr<FilterWithBufferedInput> m_decryptor; variable
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/source_exporter/wxPdfDocument/include/wx/
H A Dpdfparser.h322 wxPdfEncrypt* m_decryptor; ///< decryptor instance variable
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/include/
H A Dmy_sys.h458 Stream_cipher *m_decryptor = nullptr; member