Lines Matching refs:current_key
157 std::unique_ptr<VirtualUnexportableSigningKey> current_key = in MeasureVirtualTpmOperations() local
160 key_creation_timer.Elapsed(), current_key != nullptr, in MeasureVirtualTpmOperations()
162 if (!current_key) { in MeasureVirtualTpmOperations()
169 std::string key_name = current_key->GetKeyName(); in MeasureVirtualTpmOperations()
180 absl::optional<std::vector<uint8_t>> signed_bytes = current_key->Sign(msg); in MeasureVirtualTpmOperations()
188 verifier.VerifyInit(current_key->Algorithm(), signed_bytes.value(), in MeasureVirtualTpmOperations()
189 current_key->GetSubjectPublicKeyInfo()); in MeasureVirtualTpmOperations()
203 current_key.get()->DeleteKey(); in MeasureVirtualTpmOperations()
243 std::unique_ptr<UnexportableSigningKey> current_key = in MeasureTpmOperationsInternal() local
246 key_creation_timer.Elapsed(), current_key != nullptr); in MeasureTpmOperationsInternal()
247 if (!current_key) { in MeasureTpmOperationsInternal()
253 provider->FromWrappedSigningKeySlowly(current_key->GetWrappedKey()); in MeasureTpmOperationsInternal()
261 current_key->SignSlowly(msg); in MeasureTpmOperationsInternal()
271 verifier.VerifyInit(current_key->Algorithm(), signed_bytes.value(), in MeasureTpmOperationsInternal()
272 current_key->GetSubjectPublicKeyInfo()); in MeasureTpmOperationsInternal()