Home
last modified time | relevance | path

Searched refs:key_label (Results 1 – 7 of 7) sorted by relevance

/system/tpm/attestation/server/
Dattestation_service.cc96 LOG(INFO) << "Creating attested key: " << request.key_label(); in CreateGoogleAttestedKeyTask()
125 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateGoogleAttestedKeyTask()
147 request.key_label(), message_id, &key, in CreateGoogleAttestedKeyTask()
175 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in GetKeyInfoTask()
356 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateCertifiableKeyTask()
388 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in DecryptTask()
414 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in SignTask()
443 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in RegisterKeyWithChapsTokenTask()
447 if (!key_store_->Register(request.username(), request.key_label(), in RegisterKeyWithChapsTokenTask()
466 DeleteKey(request.username(), request.key_label()); in RegisterKeyWithChapsTokenTask()
[all …]
Dkey_store.h37 const std::string& key_label,
44 const std::string& key_label,
50 const std::string& key_label) = 0;
Dattestation_service.h206 const std::string& key_label,
221 const std::string& key_label,
229 const std::string& key_label,
235 const std::string& key_label,
239 void DeleteKey(const std::string& username, const std::string& key_label);
242 bool AddDeviceKey(const std::string& key_label, const CertifiedKey& key);
245 void RemoveDeviceKey(const std::string& key_label);
Ddbus_service_test.cc88 EXPECT_EQ("label", request.key_label()); in TEST_F()
143 EXPECT_EQ("label", request.key_label()); in TEST_F()
275 EXPECT_EQ("label", request.key_label()); in TEST_F()
309 EXPECT_EQ("label", request.key_label()); in TEST_F()
336 EXPECT_EQ("label", request.key_label()); in TEST_F()
364 EXPECT_EQ("label", request.key_label()); in TEST_F()
/system/tpm/attestation/common/
Dinterface.proto36 optional string key_label = 1; field
63 optional string key_label = 1; field
125 optional string key_label = 1; field
145 optional string key_label = 1; field
156 optional string key_label = 1; field
167 optional string key_label = 1; field
Dprint_interface_proto.cc76 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
159 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
458 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
542 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
603 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
664 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
/system/tpm/attestation/client/
Ddbus_proxy_test.cc55 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
102 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
268 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
312 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
350 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
388 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()