Lines Matching refs:mock_tpm_
52 factory_.set_tpm(&mock_tpm_);
94 EXPECT_CALL(mock_tpm_,
133 EXPECT_CALL(mock_tpm_,
143 NiceMock<MockTpm> mock_tpm_;
155 EXPECT_CALL(mock_tpm_, StartupSync(_, _))
161 EXPECT_CALL(mock_tpm_, StartupSync(_, _))
167 EXPECT_CALL(mock_tpm_, SelfTestSync(_, _))
177 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _))
184 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _))
190 EXPECT_CALL(mock_tpm_, ShutdownSync(TPM_SU_CLEAR, _));
208 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_PLATFORM, _, _, _))
216 EXPECT_CALL(mock_tpm_, HierarchyControlSync(_, _, TPM_RH_PLATFORM, _, _))
224 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _))
239 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _))
254 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _))
268 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _))
275 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(_, _, _, _, _, _, _, _))
282 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(_, _, _, _, _, _, _, _))
315 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _))
355 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(_, _, _, _))
357 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_ENDORSEMENT, _, _, _))
371 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(_, _, _, _))
373 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_LOCKOUT, _, _, _))
388 EXPECT_CALL(mock_tpm_, StirRandomSync(_, nullptr))
403 EXPECT_CALL(mock_tpm_, GetRandomSync(_, _, &mock_authorization_delegate_))
407 EXPECT_CALL(mock_tpm_, GetRandomSync(8, _, &mock_authorization_delegate_))
418 EXPECT_CALL(mock_tpm_, GetRandomSync(_, _, nullptr))
427 EXPECT_CALL(mock_tpm_,
444 EXPECT_CALL(mock_tpm_, PCR_ExtendSync(pcr_handle, _, _, _))
467 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _))
476 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _))
498 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
501 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _,
524 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
527 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr))
544 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, nullptr))
568 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
571 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr))
598 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
601 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr))
627 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
630 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _,
655 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
658 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _))
676 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
713 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
716 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _))
745 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
748 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _))
776 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
779 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _,
802 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
805 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _))
823 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
855 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
874 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
893 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
931 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
934 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _))
961 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
964 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _))
985 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
988 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _))
1005 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1008 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _))
1025 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1043 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1061 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1079 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1097 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1116 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1119 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _))
1140 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1143 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _))
1159 EXPECT_CALL(mock_tpm_, CertifyCreationSyncShort(TPM_RH_NULL, key_handle,
1178 EXPECT_CALL(mock_tpm_, CertifyCreationSyncShort(TPM_RH_NULL, key_handle,
1193 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _))
1204 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _))
1213 EXPECT_CALL(mock_tpm_, ObjectChangeAuthSync(key_handle, _, _, _, _, _, _))
1227 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _))
1245 EXPECT_CALL(mock_tpm_, ImportSync(_, _, _, _, _, _, _, _, _))
1321 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _))
1337 EXPECT_CALL(mock_tpm_, ImportSync(_, _, _, _, _, _, _, _, _))
1369 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey,
1398 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey,
1417 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey,
1455 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey,
1490 EXPECT_CALL(mock_tpm_, LoadSync(kRSAStorageRootKey, _, _, _, _, _,
1502 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _))
1530 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey, _, _,
1554 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey, _, _,
1577 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _))
1580 EXPECT_CALL(mock_tpm_, ReadPublicSync(object_handle, _, _, _, _, _))
1583 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _))
1587 EXPECT_CALL(mock_tpm_, UnsealSync(object_handle, _, _, _))
1605 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _))
1614 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _))
1623 EXPECT_CALL(mock_tpm_, UnsealSync(_, _, _, _))
1655 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _))
1704 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _))
1735 EXPECT_CALL(mock_tpm_, NV_DefineSpaceSync(TPM_RH_OWNER, _, _, _, _))
1767 EXPECT_CALL(mock_tpm_, NV_DefineSpaceSync(TPM_RH_OWNER, _, _, _, _))
1776 EXPECT_CALL(mock_tpm_,
1795 EXPECT_CALL(mock_tpm_,
1805 EXPECT_CALL(mock_tpm_, NV_WriteLockSync(TPM_RH_OWNER, _, nvram_index, _, _))
1827 EXPECT_CALL(mock_tpm_, NV_WriteLockSync(TPM_RH_OWNER, _, nvram_index, _, _))
1837 EXPECT_CALL(mock_tpm_,
1869 EXPECT_CALL(mock_tpm_,
1882 EXPECT_CALL(mock_tpm_,
1915 EXPECT_CALL(mock_tpm_,
1926 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(nvram_index, _, _, _, _))
1934 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _))
1943 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _))
1952 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(nvram_index, _, _, _, _))
1960 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _))
1968 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _))
1980 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _))
1991 EXPECT_CALL(mock_tpm_, CreatePrimarySyncShort(_, _, _, _, _, _, _, _, _, _))
1994 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, test_handle, _, _, _))
2000 EXPECT_CALL(mock_tpm_, CreatePrimarySyncShort(_, _, _, _, _, _, _, _, _, _))
2006 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, _, _, _, _))
2019 EXPECT_CALL(mock_tpm_, CreateSyncShort(_, _, _, _, _, _, _, _, _, _))
2028 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _))
2031 mock_tpm_, EvictControlSync(_, _, test_handle, _, _, _))
2037 EXPECT_CALL(mock_tpm_, CreateSyncShort(_, _, _, _, _, _, _, _, _, _))
2043 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _))
2049 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, _, _, _, _))