Lines Matching refs:_
35 using testing::_;
95 GetCapabilitySync(TPM_CAP_HANDLES, handle, _, _, _, _)) in SetExistingKeyHandleExpectation()
134 GetCapabilitySync(TPM_CAP_PCRS, _, _, _, _, _)) in SetExistingPCRSExpectation()
155 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F()
161 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F()
167 EXPECT_CALL(mock_tpm_, SelfTestSync(_, _)) in TEST_F()
177 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F()
184 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F()
190 EXPECT_CALL(mock_tpm_, ShutdownSync(TPM_SU_CLEAR, _)); in TEST_F()
208 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_PLATFORM, _, _, _)) in TEST_F()
216 EXPECT_CALL(mock_tpm_, HierarchyControlSync(_, _, TPM_RH_PLATFORM, _, _)) in TEST_F()
224 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _)) in TEST_F()
239 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _)) in TEST_F()
254 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _)) in TEST_F()
268 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(TPM_RH_PLATFORM, _, _, _, _, _, _, _)) in TEST_F()
275 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(_, _, _, _, _, _, _, _)) in TEST_F()
282 EXPECT_CALL(mock_tpm_, PCR_AllocateSync(_, _, _, _, _, _, _, _)) in TEST_F()
315 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _)) in TEST_F()
355 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(_, _, _, _)) in TEST_F()
357 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_ENDORSEMENT, _, _, _)) in TEST_F()
371 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(_, _, _, _)) in TEST_F()
373 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_LOCKOUT, _, _, _)) in TEST_F()
388 EXPECT_CALL(mock_tpm_, StirRandomSync(_, nullptr)) in TEST_F()
403 EXPECT_CALL(mock_tpm_, GetRandomSync(_, _, &mock_authorization_delegate_)) in TEST_F()
407 EXPECT_CALL(mock_tpm_, GetRandomSync(8, _, &mock_authorization_delegate_)) in TEST_F()
418 EXPECT_CALL(mock_tpm_, GetRandomSync(_, _, nullptr)) in TEST_F()
428 PCR_ExtendSync(pcr_handle, _, _, &mock_authorization_delegate_)) in TEST_F()
444 EXPECT_CALL(mock_tpm_, PCR_ExtendSync(pcr_handle, _, _, _)) in TEST_F()
467 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _)) in TEST_F()
476 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _)) in TEST_F()
498 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
501 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, in TEST_F()
524 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
527 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr)) in TEST_F()
544 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, nullptr)) in TEST_F()
568 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
571 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr)) in TEST_F()
598 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
601 EXPECT_CALL(mock_tpm_, RSA_EncryptSync(key_handle, _, _, _, _, _, nullptr)) in TEST_F()
627 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
630 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, in TEST_F()
655 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
658 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _)) in TEST_F()
676 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
713 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
716 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _)) in TEST_F()
745 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
748 EXPECT_CALL(mock_tpm_, RSA_DecryptSync(key_handle, _, _, _, _, _, _)) in TEST_F()
776 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
779 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, in TEST_F()
802 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
805 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _)) in TEST_F()
823 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
855 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
874 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
893 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
931 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
934 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _)) in TEST_F()
961 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
964 EXPECT_CALL(mock_tpm_, SignSync(key_handle, _, _, _, _, _, _)) in TEST_F()
985 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
988 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _)) in TEST_F()
1005 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1008 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _)) in TEST_F()
1025 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1043 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1061 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1079 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1097 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1116 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1119 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _)) in TEST_F()
1140 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1143 EXPECT_CALL(mock_tpm_, VerifySignatureSync(key_handle, _, _, _, _, _)) in TEST_F()
1160 _, _, _, _, _, _, _)) in TEST_F()
1169 EXPECT_CALL(mock_blob_parser_, ParseCreationBlob(creation_blob, _, _, _)) in TEST_F()
1179 _, _, _, _, _, _, _)) in TEST_F()
1193 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _)) in TEST_F()
1204 EXPECT_CALL(mock_tpm_, ReadPublicSync(key_handle, _, _, _, _, _)) in TEST_F()
1213 EXPECT_CALL(mock_tpm_, ObjectChangeAuthSync(key_handle, _, _, _, _, _, _)) in TEST_F()
1227 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _)) in TEST_F()
1230 EXPECT_CALL(mock_blob_parser_, SerializeKeyBlob(_, _, &key_blob)) in TEST_F()
1245 EXPECT_CALL(mock_tpm_, ImportSync(_, _, _, _, _, _, _, _, _)) in TEST_F()
1321 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _)) in TEST_F()
1337 EXPECT_CALL(mock_tpm_, ImportSync(_, _, _, _, _, _, _, _, _)) in TEST_F()
1354 EXPECT_CALL(mock_blob_parser_, SerializeKeyBlob(_, _, &key_blob)) in TEST_F()
1370 _, _, _, _, _, _, _, _, in TEST_F()
1399 _, _, _, _, _, _, _, _, in TEST_F()
1418 _, _, _, _, _, _, _, _, in TEST_F()
1456 _, _, _, _, _, _, _, _, in TEST_F()
1468 EXPECT_CALL(mock_blob_parser_, SerializeKeyBlob(_, _, &key_blob)) in TEST_F()
1479 EXPECT_CALL(mock_blob_parser_, SerializeCreationBlob(_, _, _, &creation_blob)) in TEST_F()
1490 EXPECT_CALL(mock_tpm_, LoadSync(kRSAStorageRootKey, _, _, _, _, _, in TEST_F()
1502 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _)) in TEST_F()
1519 EXPECT_CALL(mock_blob_parser_, ParseKeyBlob(key_blob, _, _)) in TEST_F()
1530 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey, _, _, in TEST_F()
1531 _, _, _, _, _, _, _)) in TEST_F()
1554 EXPECT_CALL(mock_tpm_, CreateSyncShort(kRSAStorageRootKey, _, _, in TEST_F()
1555 _, _, _, _, _, _, _)) in TEST_F()
1564 EXPECT_CALL(mock_blob_parser_, SerializeKeyBlob(_, _, &sealed_data)) in TEST_F()
1577 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _)) in TEST_F()
1580 EXPECT_CALL(mock_tpm_, ReadPublicSync(object_handle, _, _, _, _, _)) in TEST_F()
1583 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _)) in TEST_F()
1587 EXPECT_CALL(mock_tpm_, UnsealSync(object_handle, _, _, _)) in TEST_F()
1605 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _)) in TEST_F()
1614 EXPECT_CALL(mock_tpm_, ReadPublicSync(_, _, _, _, _, _)) in TEST_F()
1623 EXPECT_CALL(mock_tpm_, UnsealSync(_, _, _, _)) in TEST_F()
1655 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _)) in TEST_F()
1660 EXPECT_CALL(mock_policy_session_, PolicyPCR(index, _)) in TEST_F()
1664 EXPECT_CALL(mock_policy_session_, GetDigest(_)) in TEST_F()
1678 EXPECT_CALL(mock_policy_session_, PolicyPCR(index, _)) in TEST_F()
1682 EXPECT_CALL(mock_policy_session_, GetDigest(_)) in TEST_F()
1704 EXPECT_CALL(mock_tpm_, PCR_ReadSync(_, _, _, _, _)) in TEST_F()
1714 EXPECT_CALL(mock_policy_session_, PolicyPCR(index, _)) in TEST_F()
1735 EXPECT_CALL(mock_tpm_, NV_DefineSpaceSync(TPM_RH_OWNER, _, _, _, _)) in TEST_F()
1767 EXPECT_CALL(mock_tpm_, NV_DefineSpaceSync(TPM_RH_OWNER, _, _, _, _)) in TEST_F()
1777 NV_UndefineSpaceSync(TPM_RH_OWNER, _, nvram_index, _, _)); in TEST_F()
1796 NV_UndefineSpaceSync(TPM_RH_OWNER, _, nvram_index, _, _)) in TEST_F()
1805 EXPECT_CALL(mock_tpm_, NV_WriteLockSync(TPM_RH_OWNER, _, nvram_index, _, _)) in TEST_F()
1827 EXPECT_CALL(mock_tpm_, NV_WriteLockSync(TPM_RH_OWNER, _, nvram_index, _, _)) in TEST_F()
1838 NV_WriteSync(TPM_RH_OWNER, _, nvram_index, _, _, offset, _)) in TEST_F()
1870 NV_WriteSync(TPM_RH_OWNER, _, nvram_index, _, _, offset, _)) in TEST_F()
1883 NV_ReadSync(nv_index, _, nv_index, _, length, offset, _, _)) in TEST_F()
1916 NV_ReadSync(nv_index, _, nv_index, _, length, offset, _, _)) in TEST_F()
1926 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(nvram_index, _, _, _, _)) in TEST_F()
1934 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _)) in TEST_F()
1943 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _)) in TEST_F()
1952 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(nvram_index, _, _, _, _)) in TEST_F()
1960 EXPECT_CALL(mock_tpm_, NV_ReadPublicSync(_, _, _, _, _)) in TEST_F()
1968 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _)) in TEST_F()
1980 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_OWNER, _, _, _)) in TEST_F()
1991 EXPECT_CALL(mock_tpm_, CreatePrimarySyncShort(_, _, _, _, _, _, _, _, _, _)) in TEST_F()
1994 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, test_handle, _, _, _)) in TEST_F()
2000 EXPECT_CALL(mock_tpm_, CreatePrimarySyncShort(_, _, _, _, _, _, _, _, _, _)) in TEST_F()
2006 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, _, _, _, _)) in TEST_F()
2019 EXPECT_CALL(mock_tpm_, CreateSyncShort(_, _, _, _, _, _, _, _, _, _)) in TEST_F()
2028 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _)) in TEST_F()
2031 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, test_handle, _, _, _)) in TEST_F()
2037 EXPECT_CALL(mock_tpm_, CreateSyncShort(_, _, _, _, _, _, _, _, _, _)) in TEST_F()
2043 EXPECT_CALL(mock_tpm_, LoadSync(_, _, _, _, _, _, _)) in TEST_F()
2049 EXPECT_CALL(mock_tpm_, EvictControlSync(_, _, _, _, _, _)) in TEST_F()