/external/chromium_org/components/os_crypt/ |
H A D | os_crypt_posix.cc | 10 #include "crypto/encryptor.h" 89 crypto::Encryptor encryptor; local 90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 93 if (!encryptor.Encrypt(plaintext, ciphertext)) 131 crypto::Encryptor encryptor; local 132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 135 if (!encryptor.Decrypt(raw_ciphertext, plaintext))
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | token_encryptor.cc | 14 #include "crypto/encryptor.h" 78 crypto::Encryptor encryptor; local 79 if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { 85 CHECK(encryptor.SetCounter(nonce)); 86 if (!encryptor.Encrypt(token, &encoded_token)) { 109 crypto::Encryptor encryptor; local 110 if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { 117 CHECK(encryptor.SetCounter(nonce)); 118 if (!encryptor.Decrypt(encrypted_token, &token)) {
|
H A D | device_oauth2_token_service.cc | 239 CryptohomeTokenEncryptor encryptor(system_salt_); 240 refresh_token_ = encryptor.DecryptWithSystemSalt(encrypted_refresh_token); 303 CryptohomeTokenEncryptor encryptor(system_salt_); 305 encryptor.EncryptWithSystemSalt(refresh_token_);
|
/external/chromium_org/sync/internal_api/public/ |
H A D | sync_manager.cc | 22 encryptor(NULL),
|
H A D | sync_manager.h | 263 Encryptor* encryptor; member in struct:syncer::SyncManager::InitArgs
|
/external/chromium_org/crypto/ |
H A D | encryptor_unittest.cc | 5 #include "crypto/encryptor.h" 20 crypto::Encryptor encryptor; local 24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); 28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted)); 64 crypto::Encryptor encryptor; local 68 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); 72 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 193 crypto::Encryptor encryptor; local 194 EXPECT_TRUE(encryptor 225 crypto::Encryptor encryptor; local 290 crypto::Encryptor encryptor; local 411 crypto::Encryptor encryptor; local 444 crypto::Encryptor encryptor; local 482 crypto::Encryptor encryptor; local 496 crypto::Encryptor encryptor; local 515 crypto::Encryptor encryptor; local [all...] |
/external/chromium_org/sync/util/ |
H A D | nigori.cc | 14 #include "crypto/encryptor.h" 128 Encryptor encryptor; local 129 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, 134 if (!encryptor.Encrypt(plaintext.str(), &ciphertext)) 165 Encryptor encryptor; local 166 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) 170 if (!encryptor.Encrypt(value, &ciphertext)) 228 Encryptor encryptor; 229 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) 232 if (!encryptor [all...] |
H A D | cryptographer.h | 52 // Does not take ownership of |encryptor|. 53 explicit Cryptographer(Encryptor* encryptor); 174 Encryptor* encryptor() const { return encryptor_; } function in class:syncer::Cryptographer
|
H A D | cryptographer.cc | 13 #include "sync/util/encryptor.h" 25 Cryptographer::Cryptographer(Encryptor* encryptor) argument 26 : encryptor_(encryptor) { 27 DCHECK(encryptor); 163 // Create the new Nigori and make it the default encryptor. 189 // Create the new Nigori and make it the default encryptor.
|
/external/chromium_org/chrome/browser/signin/ |
H A D | easy_unlock_auth_attempt.cc | 11 #include "crypto/encryptor.h" 40 crypto::Encryptor encryptor; local 41 if (!encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)) 45 if (!encryptor.Decrypt(wrapped_secret, &secret))
|
/external/chromium_org/sync/internal_api/ |
H A D | js_sync_encryption_handler_observer_unittest.cc | 149 FakeEncryptor encryptor; local 150 Cryptographer cryptographer(&encryptor);
|
H A D | sync_encryption_handler_impl.h | 51 Encryptor* encryptor, 129 Vault(Encryptor* encryptor, ModelTypeSet encrypted_types);
|
H A D | sync_encryption_handler_impl_unittest.cc | 197 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 304 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 528 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 662 GetCryptographer()->encryptor()->DecryptString(decoded_bootstrap, 698 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 734 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 791 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 1020 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); 1078 Cryptographer keystore_cryptographer(GetCryptographer()->encryptor()); 1092 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); [all...] |
H A D | sync_encryption_handler_impl.cc | 32 #include "sync/util/encryptor.h" 137 Encryptor* encryptor) { 153 encryptor->EncryptString(serialized_keystores, 162 Encryptor* encryptor, 173 if (!encryptor->DecryptString(base64_decoded_keystore_bootstrap, 199 Encryptor* encryptor, 201 : cryptographer(encryptor), 210 Encryptor* encryptor, 214 vault_unsafe_(encryptor, SensitiveTypes()), 227 encryptor, 134 PackKeystoreBootstrapToken( const std::vector<std::string>& old_keystore_keys, const std::string& current_keystore_key, Encryptor* encryptor) argument 160 UnpackKeystoreBootstrapToken( const std::string& keystore_bootstrap_token, Encryptor* encryptor, std::vector<std::string>* old_keystore_keys, std::string* current_keystore_key) argument 198 Vault( Encryptor* encryptor, ModelTypeSet encrypted_types) argument 208 SyncEncryptionHandlerImpl( UserShare* user_share, Encryptor* encryptor, const std::string& restored_key_for_bootstrapping, const std::string& restored_keystore_key_for_bootstrapping) argument [all...] |
/external/chromium_org/sync/syncable/ |
H A D | directory_unittest.h | 90 Encryptor* encryptor();
|
H A D | syncable_unittest.cc | 88 Encryptor *encryptor, 100 TestDirectory(Encryptor* encryptor, 108 Encryptor *encryptor, 114 return new TestDirectory(encryptor, handler, backing_store); 117 TestDirectory::TestDirectory(Encryptor* encryptor, argument 128 FakeEncryptor encryptor; local 138 TestDirectory::Create(&encryptor, &handler, name, file_path)); 170 encryptor(), unrecoverable_error_handler(), kDirectoryName, file_path_); 107 Create( Encryptor *encryptor, UnrecoverableErrorHandler *handler, const std::string& dir_name, const base::FilePath& backing_filepath) argument
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_create.cpp | 519 CPDF_Encryptor encryptor;
local 520 encryptor.Initialize(pHandler, m_dwObjNum, encoder.m_pData, encoder.m_dwSize);
521 if ((len = pFile->AppendDWord(encryptor.m_dwSize)) < 0) {
534 if (pFile->AppendBlock(encryptor.m_pData, encryptor.m_dwSize) < 0) {
537 offset += len + encryptor.m_dwSize;
1006 CPDF_Encryptor encryptor;
local 1007 if(!encryptor.Initialize(pCrypto, objnum, encoder.m_pData, encoder.m_dwSize)) {
1010 if ((FX_DWORD)encoder.m_pDict->GetInteger(FX_BSTRC("Length")) != encryptor.m_dwSize) {
1012 encoder.m_pDict->SetAtInteger(FX_BSTRC("Length"), encryptor 1109 CPDF_Encryptor encryptor; local 1121 CPDF_Encryptor encryptor; local [all...] |
/external/chromium_org/components/gcm_driver/ |
H A D | fake_gcm_client.h | 45 scoped_ptr<Encryptor> encryptor,
|
H A D | gcm_client.h | 238 scoped_ptr<Encryptor> encryptor,
|
H A D | fake_gcm_client.cc | 14 #include "google_apis/gcm/base/encryptor.h" 42 scoped_ptr<Encryptor> encryptor, 36 Initialize( const ChromeBuildInfo& chrome_build_info, const base::FilePath& store_path, const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, scoped_ptr<Encryptor> encryptor, Delegate* delegate) argument
|
/external/chromium_org/google_apis/gcm/engine/ |
H A D | gcm_store_impl.h | 30 scoped_ptr<Encryptor> encryptor);
|
/external/chromium_org/sync/engine/ |
H A D | apply_control_data_updates_unittest.cc | 79 Cryptographer other_cryptographer(cryptographer->encryptor()); 263 Cryptographer other_cryptographer(cryptographer->encryptor()); 322 Cryptographer other_cryptographer(cryptographer->encryptor()); 400 Cryptographer other_cryptographer(cryptographer->encryptor()); 548 Cryptographer other_cryptographer(cryptographer->encryptor()); 630 Cryptographer other_cryptographer(cryptographer->encryptor()); 713 Cryptographer other_cryptographer(cryptographer->encryptor()); 792 Cryptographer other_cryptographer(cryptographer->encryptor());
|
/external/chromium_org/media/cdm/ |
H A D | aes_decryptor.cc | 13 #include "crypto/encryptor.h" 139 crypto::Encryptor encryptor; local 140 if (!encryptor.Init(key, crypto::Encryptor::CTR, "")) { 147 if (!encryptor.SetCounter(input.decrypt_config()->iv())) { 162 if (!encryptor.Decrypt(encrypted_text, &decrypted_text)) { 212 if (!encryptor.Decrypt(encrypted_text, &decrypted_text)) {
|
/external/chromium_org/media/cast/net/ |
H A D | cast_transport_sender_impl.cc | 200 TransportEncryptionHandler* encryptor, 202 if (encryptor->is_activated()) { 205 if (encryptor->Encrypt(frame.frame_id, frame.data, &encrypted_frame.data)) { 199 EncryptAndSendFrame(const EncodedFrame& frame, TransportEncryptionHandler* encryptor, RtpSender* sender) argument
|
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/ |
H A D | easy_unlock_create_keys_operation.cc | 21 #include "crypto/encryptor.h" 286 crypto::Encryptor encryptor; local 287 if (!encryptor.Init(session_key.get(), crypto::Encryptor::CBC, iv)) { 288 LOG(ERROR) << "Easy unlock failed to init encryptor for key creation."; 294 if (!encryptor.Encrypt(user_key, &device->wrapped_secret)) {
|