Searched refs:Nigori (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/sync/util/ |
D | nigori_unittest.cc | 17 Nigori nigori; in TEST() 21 EXPECT_TRUE(nigori.Permute(Nigori::Password, "test name", in TEST() 31 Nigori nigori1; in TEST() 35 EXPECT_TRUE(nigori1.Permute(Nigori::Password, in TEST() 39 Nigori nigori2; in TEST() 43 EXPECT_TRUE(nigori2.Permute(Nigori::Password, in TEST() 52 Nigori nigori; in TEST() 67 Nigori nigori; in TEST() 82 Nigori nigori; in TEST() 97 Nigori nigori; in TEST() [all …]
|
D | nigori.cc | 42 NigoriStream& operator<<(const Nigori::Type type) { in operator <<() 59 const char Nigori::kSaltSalt[] = "saltsalt"; 61 Nigori::Nigori() { in Nigori() function in syncer::Nigori 64 Nigori::~Nigori() { in ~Nigori() 67 bool Nigori::InitByDerivation(const std::string& hostname, in InitByDerivation() 104 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() 121 bool Nigori::Permute(Type type, const std::string& name, in Permute() 158 bool Nigori::Encrypt(const std::string& value, std::string* encrypted) const { in Encrypt() 194 bool Nigori::Decrypt(const std::string& encrypted, std::string* value) const { in Decrypt() 238 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys()
|
D | cryptographer.cc | 38 linked_ptr<Nigori> nigori_copy(new Nigori()); in Cryptographer() 150 const Nigori& nigori = *it->second; in GetKeys() 164 scoped_ptr<Nigori> nigori(new Nigori); in AddKey() 177 scoped_ptr<Nigori> nigori(new Nigori); in AddNonDefaultKey() 195 bool Cryptographer::AddKeyImpl(scoped_ptr<Nigori> initialized_nigori, in AddKeyImpl() 198 if (!initialized_nigori->Permute(Nigori::Password, kNigoriKeyName, &name)) { in AddKeyImpl() 246 Nigori nigori; in DecryptPendingKeys() 312 scoped_ptr<Nigori> new_nigori(new Nigori); in InstallKeyBag() 371 scoped_ptr<Nigori> nigori(new Nigori); in ImportNigoriKey()
|
D | nigori.h | 28 class SYNC_EXPORT Nigori { 34 Nigori(); 35 virtual ~Nigori();
|
D | cryptographer.h | 192 typedef std::map<std::string, linked_ptr<const Nigori> > NigoriMap; 201 bool AddKeyImpl(scoped_ptr<Nigori> nigori, bool set_as_default);
|
/external/chromium_org/sync/engine/ |
D | model_type_sync_worker_impl_unittest.cc | 189 static std::string GetNigoriName(const Nigori& nigori); 299 Nigori nigori; in NewForeignEncryptionKey() 312 Nigori last_nigori; in NewForeignEncryptionKey() 606 std::string ModelTypeSyncWorkerImplTest::GetNigoriName(const Nigori& nigori) { in GetNigoriName() 608 if (!nigori.Permute(Nigori::Password, kNigoriKeyName, &name)) { in GetNigoriName() 629 Nigori nigori; in EncryptUpdate()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | sync_backend_host_impl.cc | 766 syncer::Nigori nigori; in CheckPassphraseAgainstCachedPendingKeys()
|