Lines Matching refs:Nigori
101 sync_pb::EncryptedData nigori;
117 EXPECT_TRUE(cryptographer.GetKeys(&nigori));
122 EXPECT_FALSE(cryptographer.CanDecrypt(nigori));
124 cryptographer.SetPendingKeys(nigori);
150 Nigori nigori;
151 ASSERT_TRUE(nigori.InitByDerivation("example.com", "username", "password"));
153 ASSERT_TRUE(nigori.ExportKeys(&expected_user, &expected_encryption,
158 EXPECT_TRUE(cryptographer.PackBootstrapToken(&nigori, &token));
161 scoped_ptr<Nigori> unpacked(cryptographer.UnpackBootstrapToken(token));
162 EXPECT_NE(static_cast<Nigori*>(NULL), unpacked.get());