Home | History | Annotate | Download | only in trunks

Lines Matching defs:target_

44   explicit TpmStateForwarder(TpmState* target) : target_(target) {}
48 return target_->Initialize();
52 return target_->IsOwnerPasswordSet();
56 return target_->IsEndorsementPasswordSet();
60 return target_->IsLockoutPasswordSet();
64 return target_->IsOwned();
68 return target_->IsInLockout();
72 return target_->IsPlatformHierarchyEnabled();
76 return target_->IsStorageHierarchyEnabled();
80 return target_->IsEndorsementHierarchyEnabled();
84 return target_->IsEnabled();
88 return target_->WasShutdownOrderly();
92 return target_->IsRSASupported();
96 return target_->IsECCSupported();
100 return target_->GetLockoutCounter();
104 return target_->GetLockoutThreshold();
108 return target_->GetLockoutInterval();
112 return target_->GetLockoutRecovery();
116 TpmState* target_;
122 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {}
126 return target_->Startup();
130 return target_->Clear();
134 return target_->Shutdown();
138 return target_->InitializeTpm();
142 return target_->AllocatePCR(platform_password);
148 return target_->TakeOwnership(owner_password,
155 return target_->StirRandom(entropy_data, delegate);
161 return target_->GenerateRandom(num_bytes, delegate, random_data);
167 return target_->ExtendPCR(pcr_index, extend_data, delegate);
171 return target_->ReadPCR(pcr_index, pcr_value);
180 return target_->AsymmetricEncrypt(key_handle,
194 return target_->AsymmetricDecrypt(key_handle,
208 return target_->Sign(key_handle,
222 return target_->Verify(key_handle, scheme, hash_alg,
228 return target_->CertifyCreation(key_handle, creation_blob);
235 return target_->ChangeKeyAuthorizationData(key_handle,
248 return target_->ImportRSAKey(key_type, modulus, public_exponent,
262 return target_->CreateRSAKeyPair(key_type, modulus_bits, public_exponent,
272 return target_->LoadKey(key_blob, delegate, key_handle);
276 return target_->GetKeyName(handle, name);
281 return target_->GetKeyPublicArea(handle, public_data);
288 return target_->SealData(data_to_seal, policy_digest,
295 return target_->UnsealData(sealed_data, delegate, unsealed_data);
299 return target_->StartSession(session);
305 return target_->GetPolicyDigestForPcrValue(pcr_index, pcr_value,
312 return target_->DefineNVSpace(index, num_bytes, delegate);
317 return target_->DestroyNVSpace(index, delegate);
322 return target_->LockNVSpace(index, delegate);
329 return target_->WriteNVSpace(index, offset, nvram_data, delegate);
337 return target_->ReadNVSpace(index, offset, num_bytes, nvram_data, delegate);
341 return target_->GetNVSpaceName(index, name);
346 return target_->GetNVSpacePublicArea(index, public_data);
350 TpmUtility* target_;
357 : target_(target) {}
364 return target_->GetCommandAuthorization(
373 return target_->CheckResponseAuthorization(response_hash, authorization);
377 return target_->EncryptCommandParameter(parameter);
381 return target_->DecryptResponseParameter(parameter);
385 AuthorizationDelegate* target_;
391 explicit SessionManagerForwarder(SessionManager* target) : target_(target) {}
395 return target_->GetSessionHandle();
399 return target_->CloseSession();
406 return target_->StartSession(session_type, bind_entity,
412 SessionManager* target_;
418 explicit HmacSessionForwarder(HmacSession* target): target_(target) {}
422 return target_->GetDelegate();
428 return target_->StartBoundSession(bind_entity,
434 return target_->StartUnboundSession(enable_encryption);
438 return target_->SetEntityAuthorizationValue(value);
442 return target_->SetFutureAuthorizationValue(value);
446 HmacSession* target_;
453 explicit PolicySessionForwarder(PolicySession* target): target_(target) {}
457 return target_->GetDelegate();
463 return target_->StartBoundSession(bind_entity,
469 return target_->StartUnboundSession(enable_encryption);
473 return target_->GetDigest(digest);
477 return target_->PolicyOR(digests);
481 return target_->PolicyPCR(pcr_index, pcr_value);
485 return target_->PolicyCommandCode(command_code);
489 return target_->PolicyAuthValue();
493 return target_->SetEntityAuthorizationValue(value);
497 PolicySession* target_;
503 explicit BlobParserForwarder(BlobParser* target): target_(target) {}
509 return target_->SerializeKeyBlob(public_info, private_info, key_blob);
515 return target_->ParseKeyBlob(key_blob, public_info, private_info);
522 return target_->SerializeCreationBlob(creation_data, creation_hash,
530 return target_->ParseCreationBlob(creation_blob, creation_data,
535 BlobParser* target_;