Home
last modified time | relevance | path

Searched refs:bytes_marshalled (Results 1 – 25 of 55) sorted by relevance

123

/external/tpm2/
Dmarshal_test.c83 UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size); in BasicTypesSuccessTest()
84 CHECK_EQ(bytes_marshalled, num_bytes) in BasicTypesSuccessTest()
101 UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size); in BasicTypesFailureTest() local
103 CHECK_EQ(bytes_marshalled, num_bytes); in BasicTypesFailureTest()
106 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, NULL); in BasicTypesFailureTest()
107 CHECK_EQ(bytes_marshalled, num_bytes); in BasicTypesFailureTest()
120 UINT16 bytes_marshalled = TPM_KEY_BITS_Marshal(&value, &buffer_ptr, &size); in TypedefSuccessTest()
121 CHECK_EQ(bytes_marshalled, num_bytes); in TypedefSuccessTest()
138 UINT16 bytes_marshalled = TPM_KEY_BITS_Marshal(&value, &buffer_ptr, &size); in TypedefFailureTest() local
140 CHECK_EQ(bytes_marshalled, num_bytes); in TypedefFailureTest()
[all …]
DMarshal_ReadClock.c48 UINT16 bytes_marshalled; in Exec_ReadClock() local
63 bytes_marshalled = in Exec_ReadClock()
67 bytes_marshalled - *response_handle_buffer_size; in Exec_ReadClock()
DMarshal_GetTestResult.c49 UINT16 bytes_marshalled; in Exec_GetTestResult() local
64 bytes_marshalled = GetTestResult_Out_Marshal(&out, tag, &response_buffer, in Exec_GetTestResult()
68 bytes_marshalled - *response_handle_buffer_size; in Exec_GetTestResult()
DMarshal_IncrementalSelfTest.c65 UINT16 bytes_marshalled; in Exec_IncrementalSelfTest() local
86 bytes_marshalled = IncrementalSelfTest_Out_Marshal( in Exec_IncrementalSelfTest()
90 bytes_marshalled - *response_handle_buffer_size; in Exec_IncrementalSelfTest()
DMarshal_PolicyGetDigest.c62 UINT16 bytes_marshalled; in Exec_PolicyGetDigest() local
83 bytes_marshalled = PolicyGetDigest_Out_Marshal(&out, tag, &response_buffer, in Exec_PolicyGetDigest()
87 bytes_marshalled - *response_handle_buffer_size; in Exec_PolicyGetDigest()
DMarshal_FirmwareRead.c65 UINT16 bytes_marshalled; in Exec_FirmwareRead() local
86 bytes_marshalled = FirmwareRead_Out_Marshal(&out, tag, &response_buffer, in Exec_FirmwareRead()
90 bytes_marshalled - *response_handle_buffer_size; in Exec_FirmwareRead()
DMarshal_GetRandom.c65 UINT16 bytes_marshalled; in Exec_GetRandom() local
86 bytes_marshalled = in Exec_GetRandom()
90 bytes_marshalled - *response_handle_buffer_size; in Exec_GetRandom()
DMarshal_ECC_Parameters.c66 UINT16 bytes_marshalled; in Exec_ECC_Parameters() local
87 bytes_marshalled = ECC_Parameters_Out_Marshal(&out, tag, &response_buffer, in Exec_ECC_Parameters()
91 bytes_marshalled - *response_handle_buffer_size; in Exec_ECC_Parameters()
DMarshal_NV_ReadPublic.c63 UINT16 bytes_marshalled; in Exec_NV_ReadPublic() local
84 bytes_marshalled = NV_ReadPublic_Out_Marshal(&out, tag, &response_buffer, in Exec_NV_ReadPublic()
88 bytes_marshalled - *response_handle_buffer_size; in Exec_NV_ReadPublic()
DMarshal_Unseal.c62 UINT16 bytes_marshalled; in Exec_Unseal() local
82 bytes_marshalled = in Exec_Unseal()
86 bytes_marshalled - *response_handle_buffer_size; in Exec_Unseal()
DMarshal_ContextLoad.c65 UINT16 bytes_marshalled; in Exec_ContextLoad() local
86 bytes_marshalled = ContextLoad_Out_Marshal(&out, tag, &response_buffer, in Exec_ContextLoad()
90 bytes_marshalled - *response_handle_buffer_size; in Exec_ContextLoad()
DMarshal_ContextSave.c62 UINT16 bytes_marshalled; in Exec_ContextSave() local
83 bytes_marshalled = ContextSave_Out_Marshal(&out, tag, &response_buffer, in Exec_ContextSave()
87 bytes_marshalled - *response_handle_buffer_size; in Exec_ContextSave()
DMarshal_ECDH_KeyGen.c63 UINT16 bytes_marshalled; in Exec_ECDH_KeyGen() local
84 bytes_marshalled = ECDH_KeyGen_Out_Marshal(&out, tag, &response_buffer, in Exec_ECDH_KeyGen()
88 bytes_marshalled - *response_handle_buffer_size; in Exec_ECDH_KeyGen()
DMarshal_EventSequenceComplete.c68 UINT16 bytes_marshalled; in Exec_EventSequenceComplete() local
89 bytes_marshalled = EventSequenceComplete_Out_Marshal( in Exec_EventSequenceComplete()
93 bytes_marshalled - *response_handle_buffer_size; in Exec_EventSequenceComplete()
DMarshal_FieldUpgradeData.c66 UINT16 bytes_marshalled; in Exec_FieldUpgradeData() local
87 bytes_marshalled = FieldUpgradeData_Out_Marshal(&out, tag, &response_buffer, in Exec_FieldUpgradeData()
91 bytes_marshalled - *response_handle_buffer_size; in Exec_FieldUpgradeData()
DMarshal_ReadPublic.c64 UINT16 bytes_marshalled; in Exec_ReadPublic() local
85 bytes_marshalled = ReadPublic_Out_Marshal(&out, tag, &response_buffer, in Exec_ReadPublic()
89 bytes_marshalled - *response_handle_buffer_size; in Exec_ReadPublic()
DMarshal_ECDH_ZGen.c67 UINT16 bytes_marshalled; in Exec_ECDH_ZGen() local
88 bytes_marshalled = in Exec_ECDH_ZGen()
92 bytes_marshalled - *response_handle_buffer_size; in Exec_ECDH_ZGen()
DMarshal_ObjectChangeAuth.c68 UINT16 bytes_marshalled; in Exec_ObjectChangeAuth() local
89 bytes_marshalled = ObjectChangeAuth_Out_Marshal(&out, tag, &response_buffer, in Exec_ObjectChangeAuth()
93 bytes_marshalled - *response_handle_buffer_size; in Exec_ObjectChangeAuth()
DMarshal_PCR_Event.c67 UINT16 bytes_marshalled; in Exec_PCR_Event() local
88 bytes_marshalled = in Exec_PCR_Event()
92 bytes_marshalled - *response_handle_buffer_size; in Exec_PCR_Event()
DMarshal_EC_Ephemeral.c66 UINT16 bytes_marshalled; in Exec_EC_Ephemeral() local
87 bytes_marshalled = EC_Ephemeral_Out_Marshal(&out, tag, &response_buffer, in Exec_EC_Ephemeral()
91 bytes_marshalled - *response_handle_buffer_size; in Exec_EC_Ephemeral()
DMarshal_LoadExternal.c75 UINT16 bytes_marshalled; in Exec_LoadExternal() local
96 bytes_marshalled = LoadExternal_Out_Marshal(&out, tag, &response_buffer, in Exec_LoadExternal()
100 bytes_marshalled - *response_handle_buffer_size; in Exec_LoadExternal()
DMarshal_HashSequenceStart.c69 UINT16 bytes_marshalled; in Exec_HashSequenceStart() local
90 bytes_marshalled = HashSequenceStart_Out_Marshal(&out, tag, &response_buffer, in Exec_HashSequenceStart()
94 bytes_marshalled - *response_handle_buffer_size; in Exec_HashSequenceStart()
DMarshal_PCR_Read.c68 UINT16 bytes_marshalled; in Exec_PCR_Read() local
88 bytes_marshalled = in Exec_PCR_Read()
92 bytes_marshalled - *response_handle_buffer_size; in Exec_PCR_Read()
DMarshal_NV_Read.c72 UINT16 bytes_marshalled; in Exec_NV_Read() local
92 bytes_marshalled = in Exec_NV_Read()
96 bytes_marshalled - *response_handle_buffer_size; in Exec_NV_Read()
DMarshal_MakeCredential.c72 UINT16 bytes_marshalled; in Exec_MakeCredential() local
93 bytes_marshalled = MakeCredential_Out_Marshal(&out, tag, &response_buffer, in Exec_MakeCredential()
97 bytes_marshalled - *response_handle_buffer_size; in Exec_MakeCredential()

123