Home
last modified time | relevance | path

Searched refs:TPM_RC (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/external/tpm2/
Dtpm_generated.h18 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size);
22 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size);
26 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size);
30 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size);
34 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size);
38 TPM_RC int32_t_Unmarshal(int32_t* target, BYTE** buffer, INT32* size);
42 TPM_RC uint64_t_Unmarshal(uint64_t* target, BYTE** buffer, INT32* size);
46 TPM_RC int64_t_Unmarshal(int64_t* target, BYTE** buffer, INT32* size);
50 TPM_RC BYTE_Unmarshal(BYTE* target, BYTE** buffer, INT32* size);
54 TPM_RC INT16_Unmarshal(INT16* target, BYTE** buffer, INT32* size);
[all …]
Dtpm_types.h54 typedef UINT32 TPM_RC; typedef
58 #define TPM_RC_INITIALIZE ((TPM_RC)(RC_VER1 + 0x000))
59 #define TPM_RC_FAILURE ((TPM_RC)(RC_VER1 + 0x001))
60 #define TPM_RC_SEQUENCE ((TPM_RC)(RC_VER1 + 0x003))
61 #define TPM_RC_PRIVATE ((TPM_RC)(RC_VER1 + 0x00B))
62 #define TPM_RC_HMAC ((TPM_RC)(RC_VER1 + 0x019))
63 #define TPM_RC_DISABLED ((TPM_RC)(RC_VER1 + 0x020))
64 #define TPM_RC_EXCLUSIVE ((TPM_RC)(RC_VER1 + 0x021))
65 #define TPM_RC_AUTH_TYPE ((TPM_RC)(RC_VER1 + 0x024))
66 #define TPM_RC_AUTH_MISSING ((TPM_RC)(RC_VER1 + 0x025))
[all …]
Dtpm_generated.c33 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size) { in uint8_t_Unmarshal()
81 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size) { in int8_t_Unmarshal()
129 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size) { in uint16_t_Unmarshal()
177 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size) { in int16_t_Unmarshal()
225 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size) { in uint32_t_Unmarshal()
273 TPM_RC int32_t_Unmarshal(int32_t* target, BYTE** buffer, INT32* size) { in int32_t_Unmarshal()
321 TPM_RC uint64_t_Unmarshal(uint64_t* target, BYTE** buffer, INT32* size) { in uint64_t_Unmarshal()
369 TPM_RC int64_t_Unmarshal(int64_t* target, BYTE** buffer, INT32* size) { in int64_t_Unmarshal()
397 TPM_RC BYTE_Unmarshal(BYTE* target, BYTE** buffer, INT32* size) { in BYTE_Unmarshal()
405 TPM_RC INT16_Unmarshal(INT16* target, BYTE** buffer, INT32* size) { in INT16_Unmarshal()
[all …]
DCryptUtil_fp.h25 TPM_RC CryptCommitCompute(
58 TPM_RC CryptCreateObject(
66 TPM_RC CryptDecryptRSA(
75 TPM_RC CryptDivide(
93 TPM_RC CryptEcc2PhaseKeyExchange(
103 TPM_RC CryptEncryptRSA(
127 TPM_RC CryptEccPointMultiply(TPMS_ECC_POINT *pOut, // OUT: output point
165 TPM_RC CryptGetTestResult(TPM2B_MAX_BUFFER *outData // OUT: test result data
238 TPM_RC CryptNewEccKey(TPM_ECC_CURVE curveID, // IN: ECC curve
244 TPM_RC CryptObjectPublicPrivateMatch(OBJECT *object // IN: the object to check
[all …]
DNV_fp.h10 TPM_RC NvAddEvictObject(TPMI_DH_OBJECT evictHandle, // IN: new evict handle
20 TPM_RC NvDefineIndex(
31 TPM_RC NvGetEvictObject(TPM_HANDLE handle, // IN: handle
60 TPM_RC NvIndexIsAccessible(TPMI_RH_NV_INDEX handle, // IN: handle
65 TPM_RC NvIsAvailable(void);
79 TPM_RC NvWriteIndexData(TPMI_RH_NV_INDEX handle, // IN: handle
85 TPM_RC NvWriteIndexInfo(TPMI_RH_NV_INDEX handle, // IN: handle
DCryptSelfTest.c20 static TPM_RC
32 TPM_RC result = CryptTestAlgorithm(alg, toTest); in CryptRunSelfTests()
56 TPM_RC
89 TPM_RC
164 TPM_RC
170 TPM_RC result = TPM_RC_SUCCESS; in CryptTestAlgorithm()
175 TPM_RC TestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest); in CryptTestAlgorithm()
Dmarshal_test.c89 TPM_RC rc = uint32_t_Unmarshal(&value, &buffer_ptr, &size); in BasicTypesSuccessTest()
110 TPM_RC rc = uint32_t_Unmarshal(&value, &buffer_ptr, &size); in BasicTypesFailureTest()
126 TPM_RC rc = TPM_KEY_BITS_Unmarshal(&value, &buffer_ptr, &size); in TypedefSuccessTest()
147 TPM_RC rc = TPM_KEY_BITS_Unmarshal(&value, &buffer_ptr, &size); in TypedefFailureTest()
163 TPM_RC rc = TPM_ST_Unmarshal(&value, &buffer_ptr, &size); in ConstantTypeSuccessTest()
174 TPM_RC rc = TPM_ECC_CURVE_Unmarshal(&value, &buffer_ptr, &size); in ConstantTypeFailureTest()
191 TPM_RC rc = TPMA_OBJECT_Unmarshal(&value, &buffer_ptr, &size); in AttributeStructSuccessTest()
206 TPM_RC rc = TPMA_OBJECT_Unmarshal(&value, &buffer_ptr, &size); in AttributeStructFailureTest()
221 TPM_RC rc = TPMI_DH_ENTITY_Unmarshal(&value, &buffer_ptr, &size, FALSE); in InterfaceSuccessTest()
263 TPM_RC rc = TPMI_DH_OBJECT_Unmarshal(&value, &buffer_ptr, &size, FALSE); in InterfaceRangeFailureTest()
[all …]
DObject_fp.h27 TPM_RC ObjectContextLoad(
31 TPM_RC ObjectCreateEventSequence(
35 TPM_RC ObjectCreateHMACSequence(
41 TPM_RC ObjectCreateHashSequence(
58 TPM_RC ObjectLoadEvict(TPM_HANDLE *handle, // IN:OUT: evict object handle. If
83 TPM_RC ObjectLoad(
DObject_spt_fp.h12 TPM_RC CredentialToSecret(
19 TPM_RC DuplicateToSensitive(
46 TPM_RC PrivateToSensitive(
72 TPM_RC PublicAttributesValidation(
77 TPM_RC SchemeChecks(
116 TPM_RC UnwrapOuter(
DPolicy_spt_fp.h18 TPM_RC PolicyParameterChecks(SESSION *session, UINT64 authTimeout,
20 TPM_RC nonceParameterNumber,
21 TPM_RC cpHashParameterNumber,
22 TPM_RC expirationParameterNumber);
DMarshal_PolicyPassword.c10 TPM_RC PolicyPassword_In_Unmarshal(PolicyPassword_In* target, in PolicyPassword_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in PolicyPassword_In_Unmarshal()
23 TPM_RC Exec_PolicyPassword(TPMI_ST_COMMAND_TAG tag, in Exec_PolicyPassword()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyPassword()
DMarshal_ChangePPS.c10 TPM_RC ChangePPS_In_Unmarshal(ChangePPS_In* target, in ChangePPS_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in ChangePPS_In_Unmarshal()
23 TPM_RC Exec_ChangePPS(TPMI_ST_COMMAND_TAG tag, in Exec_ChangePPS()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_ChangePPS()
DMarshal_PolicyPhysicalPresence.c10 TPM_RC PolicyPhysicalPresence_In_Unmarshal(PolicyPhysicalPresence_In* target, in PolicyPhysicalPresence_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in PolicyPhysicalPresence_In_Unmarshal()
23 TPM_RC Exec_PolicyPhysicalPresence(TPMI_ST_COMMAND_TAG tag, in Exec_PolicyPhysicalPresence()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyPhysicalPresence()
DMarshal_DictionaryAttackLockReset.c10 TPM_RC DictionaryAttackLockReset_In_Unmarshal( in DictionaryAttackLockReset_In_Unmarshal()
15 TPM_RC result = TPM_RC_SUCCESS; in DictionaryAttackLockReset_In_Unmarshal()
24 TPM_RC Exec_DictionaryAttackLockReset(TPMI_ST_COMMAND_TAG tag, in Exec_DictionaryAttackLockReset()
30 TPM_RC result = TPM_RC_SUCCESS; in Exec_DictionaryAttackLockReset()
DMarshal_Clear.c10 TPM_RC Clear_In_Unmarshal(Clear_In* target, in Clear_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in Clear_In_Unmarshal()
23 TPM_RC Exec_Clear(TPMI_ST_COMMAND_TAG tag, in Exec_Clear()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_Clear()
DMarshal_PCR_Reset.c10 TPM_RC PCR_Reset_In_Unmarshal(PCR_Reset_In* target, in PCR_Reset_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in PCR_Reset_In_Unmarshal()
23 TPM_RC Exec_PCR_Reset(TPMI_ST_COMMAND_TAG tag, in Exec_PCR_Reset()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_PCR_Reset()
DMarshal_NV_GlobalWriteLock.c10 TPM_RC NV_GlobalWriteLock_In_Unmarshal(NV_GlobalWriteLock_In* target, in NV_GlobalWriteLock_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in NV_GlobalWriteLock_In_Unmarshal()
23 TPM_RC Exec_NV_GlobalWriteLock(TPMI_ST_COMMAND_TAG tag, in Exec_NV_GlobalWriteLock()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_NV_GlobalWriteLock()
DMarshal_PolicyAuthValue.c10 TPM_RC PolicyAuthValue_In_Unmarshal(PolicyAuthValue_In* target, in PolicyAuthValue_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in PolicyAuthValue_In_Unmarshal()
23 TPM_RC Exec_PolicyAuthValue(TPMI_ST_COMMAND_TAG tag, in Exec_PolicyAuthValue()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyAuthValue()
DMarshal_PolicyRestart.c10 TPM_RC PolicyRestart_In_Unmarshal(PolicyRestart_In* target, in PolicyRestart_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in PolicyRestart_In_Unmarshal()
23 TPM_RC Exec_PolicyRestart(TPMI_ST_COMMAND_TAG tag, in Exec_PolicyRestart()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyRestart()
DMarshal_ChangeEPS.c10 TPM_RC ChangeEPS_In_Unmarshal(ChangeEPS_In* target, in ChangeEPS_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in ChangeEPS_In_Unmarshal()
23 TPM_RC Exec_ChangeEPS(TPMI_ST_COMMAND_TAG tag, in Exec_ChangeEPS()
29 TPM_RC result = TPM_RC_SUCCESS; in Exec_ChangeEPS()
DMarshal_Startup.c10 TPM_RC Startup_In_Unmarshal(Startup_In* target, in Startup_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in Startup_In_Unmarshal()
26 TPM_RC Exec_Startup(TPMI_ST_COMMAND_TAG tag, in Exec_Startup()
32 TPM_RC result = TPM_RC_SUCCESS; in Exec_Startup()
DMarshal_Shutdown.c10 TPM_RC Shutdown_In_Unmarshal(Shutdown_In* target, in Shutdown_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in Shutdown_In_Unmarshal()
26 TPM_RC Exec_Shutdown(TPMI_ST_COMMAND_TAG tag, in Exec_Shutdown()
32 TPM_RC result = TPM_RC_SUCCESS; in Exec_Shutdown()
DMarshal_NV_UndefineSpace.c10 TPM_RC NV_UndefineSpace_In_Unmarshal(NV_UndefineSpace_In* target, in NV_UndefineSpace_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in NV_UndefineSpace_In_Unmarshal()
24 TPM_RC Exec_NV_UndefineSpace(TPMI_ST_COMMAND_TAG tag, in Exec_NV_UndefineSpace()
30 TPM_RC result = TPM_RC_SUCCESS; in Exec_NV_UndefineSpace()
DMarshal_NV_Increment.c10 TPM_RC NV_Increment_In_Unmarshal(NV_Increment_In* target, in NV_Increment_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in NV_Increment_In_Unmarshal()
24 TPM_RC Exec_NV_Increment(TPMI_ST_COMMAND_TAG tag, in Exec_NV_Increment()
30 TPM_RC result = TPM_RC_SUCCESS; in Exec_NV_Increment()
DMarshal_SelfTest.c10 TPM_RC SelfTest_In_Unmarshal(SelfTest_In* target, in SelfTest_In_Unmarshal()
14 TPM_RC result = TPM_RC_SUCCESS; in SelfTest_In_Unmarshal()
26 TPM_RC Exec_SelfTest(TPMI_ST_COMMAND_TAG tag, in Exec_SelfTest()
32 TPM_RC result = TPM_RC_SUCCESS; in Exec_SelfTest()

12345678910>>...15