/external/vboot_reference/firmware/lib/tpm_lite/ |
D | mocked_tlcl.c | 18 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 …]
|
D | tlcl.c | 118 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/ |
D | rollback_index.c | 43 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 …]
|
D | mocked_rollback_index.c | 18 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 …]
|
D | vboot_nvstorage_rollback.c | 36 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()
|
D | mocked_tpm_bootmode.c | 68 return TPM_SUCCESS; in SetTPMBootModeState()
|
D | vboot_api_init.c | 153 if (TPM_SUCCESS != RollbackS3Resume()) { in VbInit()
|
D | vboot_api_kernel.c | 586 if (TPM_SUCCESS != SetVirtualDevMode(1)) in VbBootRecovery()
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 45 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 …]
|
D | vboot_api_init_tests.c | 67 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/ |
D | readonly.c | 86 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()
|
D | tlcl_tests.c | 28 return result == TPM_E_INVALID_POSTINIT ? TPM_SUCCESS : result; in TlclStartupIfNeeded()
|
D | tlcl_tests.h | 17 #define TPM_CHECK(tpm_command) TPM_EXPECT(tpm_command, TPM_SUCCESS)
|
D | tpmtest_writelimit.c | 35 if ((result = TlclWrite(INDEX0, (uint8_t*)&i, sizeof(i))) != TPM_SUCCESS) { in main()
|
D | tpmtest_timing.c | 30 if (__result != TPM_SUCCESS) { \
|
/external/u-boot/cmd/ |
D | tpm_test.c | 16 if (result != TPM_SUCCESS) { \ 35 return result == TPM_INVALID_POSTINIT ? TPM_SUCCESS : result; in TlclStartupIfNeeded() 94 return result != TPM_SUCCESS; in tpm_is_owned() 304 TPM_SUCCESS)) { in test_readonly() 309 TPM_SUCCESS) in test_readonly() 416 if (__result != TPM_SUCCESS) { \ 468 case TPM_SUCCESS: in test_write_limit()
|
/external/vboot_reference/firmware/include/ |
D | tss_constants.h | 19 #define TPM_SUCCESS ((uint32_t)0x00000000) macro
|
/external/u-boot/lib/ |
D | tpm-v1.c | 508 return TPM_SUCCESS; in create_request_auth() 576 return TPM_SUCCESS; in verify_response_auth() 603 u32 err = TPM_SUCCESS; in tpm_end_oiap()
|
/external/u-boot/include/ |
D | tpm-v1.h | 103 TPM_SUCCESS = TPM_BASE, enumerator
|
/external/u-boot/board/gdsys/a38x/ |
D | hre.c | 266 result->valid = (hre_tpm_err == TPM_SUCCESS); in access_hreg()
|
/external/u-boot/board/gdsys/p1022/ |
D | controlcenterd-id.c | 489 result->valid = (hre_tpm_err == TPM_SUCCESS); in access_hreg()
|