Searched refs:user_key (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/sync/util/ |
D | nigori.cc | 109 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() argument 112 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); in InitByImport() 248 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys() argument 251 DCHECK(user_key); in ExportKeys() 255 return user_key_->GetRawKey(user_key) && in ExportKeys()
|
D | nigori.h | 41 bool InitByImport(const std::string& user_key, 60 bool ExportKeys(std::string* user_key,
|
D | nigori_unittest.cc | 143 std::string user_key; in TEST() local 146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST() 149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
|
D | cryptographer_unittest.cc | 164 std::string user_key, encryption_key, mac_key; in TEST() local 165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST() 167 EXPECT_EQ(expected_user, user_key); in TEST()
|
D | cryptographer.cc | 235 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), in UnpackBootstrapToken() 252 if (!new_nigori->InitByImport(key.user_key(), in InstallKeys()
|
/external/chromium/chrome/browser/sync/protocol/ |
D | nigori_specifics.proto | 22 optional bytes user_key = 2; field
|
/external/openssh/ |
D | ssh-keygen.0 | 357 $ ssh-keygen -s /path/to/ca_key -I key_id /path/to/user_key.pub 359 The resultant certificate will be placed in /path/to/user_key-cert.pub. 380 $ ssh-keygen -s ca_key -I key_id -n user1,user2 user_key.pub 381 $ ssh-keygen -s ca_key -I key_id -h -n host.domain user_key.pub
|