Home
last modified time | relevance | path

Searched refs:encryptor_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/media/cast/common/
Dtransport_encryption_handler.cc40 : key_(), encryptor_(), iv_mask_(), is_activated_(false) {} in TransportEncryptionHandler()
51 encryptor_.reset(new crypto::Encryptor()); in Initialize()
52 encryptor_->Init(key_.get(), crypto::Encryptor::CTR, std::string()); in Initialize()
69 if (!encryptor_->SetCounter(GetAesNonce(frame_id, iv_mask_))) { in Encrypt()
73 if (!encryptor_->Encrypt(data, encrypted_data)) { in Encrypt()
86 if (!encryptor_->SetCounter(GetAesNonce(frame_id, iv_mask_))) { in Decrypt()
90 if (!encryptor_->Decrypt(ciphertext, plaintext)) { in Decrypt()
Dtransport_encryption_handler.h43 scoped_ptr<crypto::Encryptor> encryptor_; variable
/external/chromium_org/components/sync_driver/
Dsystem_encryptor_unittest.cc18 SystemEncryptor encryptor_; member in sync_driver::__anon20a7be2b0111::SystemEncryptorTest
28 EXPECT_TRUE(encryptor_.EncryptString(kPlaintext, &ciphertext)); in TEST_F()
31 EXPECT_TRUE(encryptor_.DecryptString(ciphertext, &plaintext)); in TEST_F()
/external/chromium_org/sync/util/
Dcryptographer_unittest.cc26 CryptographerTest() : cryptographer_(&encryptor_) {} in CryptographerTest()
28 FakeEncryptor encryptor_; member in syncer::CryptographerTest
157 Cryptographer cryptographer(&encryptor_); in TEST_F()
168 Cryptographer cryptographer(&encryptor_); in TEST_F()
194 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
Dcryptographer.cc26 : encryptor_(encryptor) { in Cryptographer()
31 : encryptor_(other.encryptor_), in Cryptographer()
277 if (!encryptor_->EncryptString(unencrypted_token, &encrypted_token)) { in GetBootstrapToken()
299 if (!encryptor_->DecryptString(encrypted_data, &unencrypted_token)) { in UnpackBootstrapToken()
Dcryptographer.h174 Encryptor* encryptor() const { return encryptor_; } in encryptor()
206 Encryptor* const encryptor_; variable
/external/chromium_org/content/browser/net/
Dsqlite_persistent_cookie_store_unittest.cc50 crypto::Encryptor encryptor_; member in content::__anon81e13f0f0111::CookieCryptor
57 encryptor_.Init(key_.get(), crypto::Encryptor::CBC, iv); in CookieCryptor()
62 return encryptor_.Encrypt(plaintext, ciphertext); in EncryptString()
67 return encryptor_.Decrypt(ciphertext, plaintext); in DecryptString()
/external/chromium_org/sync/syncable/
Ddirectory_unittest.h105 FakeEncryptor encryptor_; variable
Dsyncable_unittest.cc558 FakeEncryptor encryptor_; member in syncer::syncable::SyncableDirectoryManagement
Ddirectory_unittest.cc206 return &encryptor_; in encryptor()
/external/chromium_org/sync/test/
Dfake_sync_encryption_handler.h65 FakeEncryptor encryptor_; variable
Dfake_sync_encryption_handler.cc16 cryptographer_(&encryptor_) { in FakeSyncEncryptionHandler()
/external/chromium_org/google_apis/gcm/engine/
Dgcm_store_impl.cc186 scoped_ptr<Encryptor> encryptor_; member in gcm::GCMStoreImpl::Backend
197 encryptor_(encryptor.Pass()) { in Backend()
306 encryptor_->EncryptString(base::Uint64ToString(device_security_token), in SetDeviceCredentials()
638 encryptor_->DecryptString(result, &decrypted_token); in LoadDeviceCredentials()
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_host_core.h282 sync_driver::SystemEncryptor encryptor_; variable
Dsync_backend_host_core.cc444 args.encryptor = &encryptor_; in DoInitialize()
/external/chromium_org/sync/internal_api/
Dsync_manager_impl_unittest.cc829 args.encryptor = &encryptor_; in SetUp()
1010 FakeEncryptor encryptor_; member in syncer::SyncManagerTest
1257 Cryptographer verifier(&encryptor_); in TEST_F()
1291 Cryptographer verifier(&encryptor_); in TEST_F()
1351 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
1399 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
1470 Cryptographer temp_cryptographer(&encryptor_); in TEST_F()
1482 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
1535 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
Dsync_encryption_handler_impl_unittest.cc93 &encryptor_, in SetUpEncryption()
177 Cryptographer keystore_cryptographer(&encryptor_); in VerifyMigratedNigoriWithTimestamp()
184 Cryptographer temp_cryptographer(&encryptor_); in VerifyMigratedNigoriWithTimestamp()
336 FakeEncryptor encryptor_; member in syncer::SyncEncryptionHandlerImplTest
350 &encryptor_, in TEST_F()
682 &encryptor_, in TEST_F()
/external/chromium_org/sync/engine/
Dsyncer_unittest.cc587 FakeEncryptor encryptor_; member in syncer::SyncerTest
717 Cryptographer other_cryptographer(&encryptor_); in TEST_F()
868 Cryptographer other_cryptographer(&encryptor_); in TEST_F()