Home
last modified time | relevance | path

Searched refs:TPM_SUCCESS (Results 1 – 16 of 16) sorted by relevance

/external/vboot_reference/firmware/lib/tpm_lite/
Dmocked_tlcl.c18 return TPM_SUCCESS; in TlclLibClose()
22 return TPM_SUCCESS; in TlclStartup()
26 return TPM_SUCCESS; in TlclSaveState()
30 return TPM_SUCCESS; in TlclResume()
34 return TPM_SUCCESS; in TlclSelfTestFull()
38 return TPM_SUCCESS; in TlclContinueSelfTest()
42 return TPM_SUCCESS; in TlclDefineSpace()
46 return TPM_SUCCESS; in TlclWrite()
51 return TPM_SUCCESS; in TlclRead()
56 return TPM_SUCCESS; in TlclPCRRead()
[all …]
Dtlcl.c118 if (result != TPM_SUCCESS) { in TlclSendReceive()
223 if (result == TPM_SUCCESS && length > 0) { in TlclRead()
246 if (result == TPM_SUCCESS) { in TlclPCRRead()
299 return (result != TPM_SUCCESS); in TlclIsOwned()
330 if (result != TPM_SUCCESS) in TlclGetPermanentFlags()
347 if (result != TPM_SUCCESS) in TlclGetSTClearFlags()
365 if (result == TPM_SUCCESS) { in TlclGetFlags()
395 if (result != TPM_SUCCESS) in TlclExtend()
412 if (result != TPM_SUCCESS) in TlclGetPermissions()
425 if (result != TPM_SUCCESS) in TlclGetOwnership()
[all …]
/external/vboot_reference/firmware/lib/
Dmocked_rollback_index.c18 return TPM_SUCCESS; in SetVirtualDevMode()
23 return TPM_SUCCESS; in TPMClearAndReenable()
29 return TPM_SUCCESS; in SetupTPM()
34 return TPM_SUCCESS; in RollbackS3Resume()
43 return TPM_SUCCESS; in RollbackFirmwareSetup()
48 return TPM_SUCCESS; in RollbackFirmwareWrite()
53 return TPM_SUCCESS; in RollbackFirmwareLock()
59 return TPM_SUCCESS; in RollbackKernelRead()
64 return TPM_SUCCESS; in RollbackKernelWrite()
69 return TPM_SUCCESS; in RollbackKernelLock()
[all …]
Drollback_index.c43 if ((result_ = (tpm_command)) != TPM_SUCCESS) { \
58 return TPM_SUCCESS; in TPMClearAndReenable()
92 if (r != TPM_SUCCESS) in ReadSpaceFirmware()
105 return TPM_SUCCESS; in ReadSpaceFirmware()
115 return TPM_SUCCESS; in ReadSpaceFirmware()
139 if (r != TPM_SUCCESS) in WriteSpaceFirmware()
144 if (r == TPM_SUCCESS) in WriteSpaceFirmware()
160 if (TPM_SUCCESS != ReadSpaceFirmware(&rsf)) in SetVirtualDevMode()
174 if (TPM_SUCCESS != WriteSpaceFirmware(&rsf)) in SetVirtualDevMode()
188 if (r != TPM_SUCCESS) in ReadSpaceKernel()
[all …]
Dvboot_nvstorage_rollback.c36 if (TPM_SUCCESS != RollbackBackupRead(bvnc.raw)) in RestoreNvFromBackup()
63 if (TPM_SUCCESS != RollbackBackupRead(bvnc.raw)) in SaveNvToBackup()
84 if (TPM_SUCCESS == RollbackBackupWrite(bvnc.raw)) { in SaveNvToBackup()
Dmocked_tpm_bootmode.c68 return TPM_SUCCESS; in SetTPMBootModeState()
Dvboot_api_init.c153 if (TPM_SUCCESS != RollbackS3Resume()) { in VbInit()
Dvboot_api_kernel.c586 if (TPM_SUCCESS != SetVirtualDevMode(1)) in VbBootRecovery()
/external/vboot_reference/tests/
Drollback_index2_tests.c45 static uint32_t fail_with_error = TPM_SUCCESS;
92 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclLibInit()
98 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclStartup()
104 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclResume()
110 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclForceClear()
116 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetEnable()
122 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetDeactivated()
142 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclRead()
160 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclWrite()
167 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclDefineSpace()
[all …]
Dvboot_api_init_tests.c67 rollback_s3_retval = TPM_SUCCESS; in ResetMocks()
98 return TPM_SUCCESS; in RollbackBackupRead()
105 return TPM_SUCCESS; in RollbackBackupWrite()
/external/vboot_reference/tests/tpm_lite/
Dreadonly.c86 if (TlclRead(INDEX0, (uint8_t*) &index_0, sizeof(index_0)) != TPM_SUCCESS || in main()
87 TlclRead(INDEX1, (uint8_t*) &index_1, sizeof(index_1)) != TPM_SUCCESS || in main()
88 TlclRead(INDEX2, (uint8_t*) &index_2, sizeof(index_2)) != TPM_SUCCESS || in main()
89 TlclRead(INDEX3, (uint8_t*) &index_3, sizeof(index_3)) != TPM_SUCCESS) { in main()
97 if (TlclWrite(INDEX0, (uint8_t*) &index_0, sizeof(index_0) != TPM_SUCCESS)) { in main()
101 if (TlclWrite(INDEX0, (uint8_t*) &index_0, sizeof(index_0)) == TPM_SUCCESS) { in main()
Dtlcl_tests.c28 return result == TPM_E_INVALID_POSTINIT ? TPM_SUCCESS : result; in TlclStartupIfNeeded()
Dtlcl_tests.h17 #define TPM_CHECK(tpm_command) TPM_EXPECT(tpm_command, TPM_SUCCESS)
Dtpmtest_writelimit.c35 if ((result = TlclWrite(INDEX0, (uint8_t*)&i, sizeof(i))) != TPM_SUCCESS) { in main()
Dtpmtest_timing.c30 if (__result != TPM_SUCCESS) { \
/external/vboot_reference/firmware/include/
Dtss_constants.h19 #define TPM_SUCCESS ((uint32_t)0x00000000) macro