Home
last modified time | relevance | path

Searched refs:key_store (Results 1 – 2 of 2) sorted by relevance

/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc310 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 …]
Dattestation_service.h106 void set_key_store(KeyStore* key_store) { key_store_ = key_store; } in set_key_store() argument