Searched refs:Nigori (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/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 | cryptographer.cc | 30 scoped_ptr<Nigori> nigori(UnpackBootstrapToken(restored_bootstrap_token)); in Bootstrap() 95 const Nigori& nigori = *it->second; in GetKeys() 111 scoped_ptr<Nigori> nigori(new Nigori); in AddKey() 121 bool Cryptographer::AddKeyImpl(Nigori* initialized_nigori) { in AddKeyImpl() 122 scoped_ptr<Nigori> nigori(initialized_nigori); in AddKeyImpl() 124 if (!nigori->Permute(Nigori::Password, kNigoriKeyName, &name)) { in AddKeyImpl() 150 Nigori nigori; in DecryptPendingKeys() 180 bool Cryptographer::PackBootstrapToken(const Nigori* nigori, in PackBootstrapToken() 212 Nigori* Cryptographer::UnpackBootstrapToken(const std::string& token) const { in UnpackBootstrapToken() 234 scoped_ptr<Nigori> nigori(new Nigori); in UnpackBootstrapToken() [all …]
|
D | nigori.cc | 47 NigoriStream& operator<<(const Nigori::Type type) { in operator <<() 64 const char Nigori::kSaltSalt[] = "saltsalt"; 66 Nigori::Nigori() { in Nigori() function in browser_sync::Nigori 69 Nigori::~Nigori() { in ~Nigori() 72 bool Nigori::InitByDerivation(const std::string& hostname, in InitByDerivation() 109 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() 126 bool Nigori::Permute(Type type, const std::string& name, in Permute() 170 bool Nigori::Encrypt(const std::string& value, std::string* encrypted) const { in Encrypt() 203 bool Nigori::Decrypt(const std::string& encrypted, std::string* value) const { in Decrypt() 248 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys()
|
D | cryptographer.h | 119 typedef std::map<std::string, linked_ptr<const Nigori> > NigoriMap; 127 bool AddKeyImpl(Nigori* nigori); 131 bool PackBootstrapToken(const Nigori* nigori, std::string* pack_into) const; 132 Nigori* UnpackBootstrapToken(const std::string& token) const;
|
D | nigori.h | 25 class Nigori { 31 Nigori(); 32 virtual ~Nigori();
|
D | cryptographer_unittest.cc | 150 Nigori nigori; in TEST() 161 scoped_ptr<Nigori> unpacked(cryptographer.UnpackBootstrapToken(token)); in TEST() 162 EXPECT_NE(static_cast<Nigori*>(NULL), unpacked.get()); in TEST()
|
/external/chromium/chrome/browser/sync/protocol/ |
D | autofill_specifics.proto | 88 // An AutofillCreditCardSpecifics, encryped using Nigori (see Chromium's
|