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

/external/chromium_org/components/sync_driver/
H A Dsystem_encryptor_unittest.cc18 SystemEncryptor encryptor_; member in class:browser_sync::__anon6605::SystemEncryptorTest
28 EXPECT_TRUE(encryptor_.EncryptString(kPlaintext, &ciphertext));
31 EXPECT_TRUE(encryptor_.DecryptString(ciphertext, &plaintext));
/external/chromium_org/media/cast/transport/utility/
H A Dtransport_encryption_handler.cc17 : key_(), encryptor_(), iv_mask_(), initialized_(false) {}
28 encryptor_.reset(new crypto::Encryptor());
29 encryptor_->Init(key_.get(), crypto::Encryptor::CTR, std::string());
46 if (!encryptor_->SetCounter(GetAesNonce(frame_id, iv_mask_))) {
50 if (!encryptor_->Encrypt(data, encrypted_data)) {
63 if (!encryptor_->SetCounter(transport::GetAesNonce(frame_id, iv_mask_))) {
67 if (!encryptor_->Decrypt(ciphertext, plaintext)) {
H A Dtransport_encryption_handler.h47 scoped_ptr<crypto::Encryptor> encryptor_; member in class:media::cast::transport::TransportEncryptionHandler
/external/chromium_org/sync/util/
H A Dcryptographer_unittest.cc26 CryptographerTest() : cryptographer_(&encryptor_) {}
28 FakeEncryptor encryptor_; member in class:syncer::CryptographerTest
157 Cryptographer cryptographer(&encryptor_);
168 Cryptographer cryptographer(&encryptor_);
194 Cryptographer other_cryptographer(&encryptor_);
H A Dcryptographer.h173 Encryptor* encryptor() const { return encryptor_; }
202 Encryptor* const encryptor_; member in class:syncer::Cryptographer
H A Dcryptographer.cc26 : encryptor_(encryptor) {
259 if (!encryptor_->EncryptString(unencrypted_token, &encrypted_token)) {
281 if (!encryptor_->DecryptString(encrypted_data, &unencrypted_token)) {
/external/chromium_org/sync/syncable/
H A Ddirectory_unittest.h105 FakeEncryptor encryptor_; member in class:syncer::syncable::SyncableDirectoryTest
H A Dsyncable_unittest.cc563 FakeEncryptor encryptor_; member in class:syncer::syncable::SyncableDirectoryManagement
H A Ddirectory_unittest.cc206 return &encryptor_;
/external/chromium_org/sync/test/
H A Dfake_sync_encryption_handler.h65 FakeEncryptor encryptor_; member in class:syncer::FakeSyncEncryptionHandler
H A Dfake_sync_encryption_handler.cc16 cryptographer_(&encryptor_) {
/external/chromium_org/content/browser/net/
H A Dsqlite_persistent_cookie_store_unittest.cc50 crypto::Encryptor encryptor_; member in class:content::__anon6964::CookieCryptor
57 encryptor_.Init(key_.get(), crypto::Encryptor::CBC, iv);
62 return encryptor_.Encrypt(plaintext, ciphertext);
67 return encryptor_.Decrypt(ciphertext, plaintext);
/external/chromium_org/chrome/browser/sync/glue/
H A Dsync_backend_host_core.h293 SystemEncryptor encryptor_; member in class:browser_sync::SyncBackendHostCore
H A Dsync_backend_host_core.cc419 &encryptor_,
/external/chromium_org/google_apis/gcm/engine/
H A Dgcm_store_impl.cc162 scoped_ptr<Encryptor> encryptor_; member in class:gcm::GCMStoreImpl::Backend
173 encryptor_(encryptor.Pass()) {
287 encryptor_->EncryptString(base::Uint64ToString(device_security_token),
561 encryptor_->DecryptString(result, &decrypted_token);
/external/chromium_org/sync/internal_api/
H A Dsync_encryption_handler_impl_unittest.cc93 &encryptor_,
177 Cryptographer keystore_cryptographer(&encryptor_);
184 Cryptographer temp_cryptographer(&encryptor_);
336 FakeEncryptor encryptor_; member in class:syncer::SyncEncryptionHandlerImplTest
350 &encryptor_, local
682 &encryptor_, local
H A Dsync_manager_impl_unittest.cc831 &encryptor_,
1016 FakeEncryptor encryptor_; member in class:syncer::SyncManagerTest
1262 Cryptographer verifier(&encryptor_);
1296 Cryptographer verifier(&encryptor_);
1356 Cryptographer other_cryptographer(&encryptor_);
1404 Cryptographer other_cryptographer(&encryptor_);
1475 Cryptographer temp_cryptographer(&encryptor_);
1487 Cryptographer other_cryptographer(&encryptor_);
1540 Cryptographer other_cryptographer(&encryptor_);
/external/chromium_org/sync/engine/
H A Dsyncer_unittest.cc578 FakeEncryptor encryptor_; member in class:syncer::SyncerTest
706 Cryptographer other_cryptographer(&encryptor_);
799 Cryptographer other_cryptographer(&encryptor_);

Completed in 416 milliseconds