Searched refs:key_store (Results 1 – 2 of 2) sorted by relevance
/system/tpm/attestation/server/ |
D | pkcs11_key_store_test.cc | 310 Pkcs11KeyStore key_store(&token_manager); in TEST() local 312 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); in TEST() 313 EXPECT_FALSE(key_store.Write(kDefaultUser, "test", blob)); in TEST() 314 EXPECT_FALSE(key_store.Read("", "test", &blob)); in TEST() 315 EXPECT_FALSE(key_store.Write("", "test", blob)); in TEST() 321 Pkcs11KeyStore key_store(&token_manager_); in TEST_F() local 323 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F() 324 EXPECT_TRUE(key_store.Write(kDefaultUser, "test", "test_data")); in TEST_F() 325 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F() 328 EXPECT_FALSE(key_store.Read(kDefaultUser, "test2", &blob)); in TEST_F() [all …]
|
D | attestation_service.h | 106 void set_key_store(KeyStore* key_store) { key_store_ = key_store; } in set_key_store() argument
|