Lines Matching refs:hndl
26 TPML_HANDLE hndl = {0}; in tpml_marshal_success() local
28 uint8_t buffer[sizeof(hndl) + sizeof(sel)] = { 0 }; in tpml_marshal_success()
33 hndl.count = 2; in tpml_marshal_success()
34 hndl.handle[0] = 0x81000001; in tpml_marshal_success()
35 hndl.handle[1] = 0x81000002; in tpml_marshal_success()
39 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, buffer, buffer_size, NULL); in tpml_marshal_success()
77 TPML_HANDLE hndl = {0}; in tpml_marshal_success_offset() local
79 uint8_t buffer[sizeof(hndl) + sizeof(sel) + 10] = { 0 }; in tpml_marshal_success_offset()
85 hndl.count = 2; in tpml_marshal_success_offset()
86 hndl.handle[0] = 0x81000001; in tpml_marshal_success_offset()
87 hndl.handle[1] = 0x81000002; in tpml_marshal_success_offset()
91 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, buffer, buffer_size, &offset); in tpml_marshal_success_offset()
132 TPML_HANDLE hndl = {0}; in tpml_marshal_buffer_null_with_offset() local
136 size_t buffer_size = sizeof(hndl) + sizeof(sel) + sizeof(dgst) + 99; in tpml_marshal_buffer_null_with_offset()
140 hndl.count = 2; in tpml_marshal_buffer_null_with_offset()
141 hndl.handle[0] = 0x81000001; in tpml_marshal_buffer_null_with_offset()
142 hndl.handle[1] = 0x81000002; in tpml_marshal_buffer_null_with_offset()
144 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, NULL, buffer_size, &offset); in tpml_marshal_buffer_null_with_offset()
188 TPML_HANDLE hndl = {0}; in tpml_marshal_buffer_null_offset_null() local
192 hndl.count = 2; in tpml_marshal_buffer_null_offset_null()
193 hndl.handle[0] = 0x81000001; in tpml_marshal_buffer_null_offset_null()
194 hndl.handle[1] = 0x81000002; in tpml_marshal_buffer_null_offset_null()
196 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, NULL, sizeof(hndl), NULL); in tpml_marshal_buffer_null_offset_null()
209 TPML_HANDLE hndl = {0}; in tpml_marshal_buffer_size_lt_data_nad_lt_offset() local
211 uint8_t buffer[sizeof(hndl) + sizeof(sel) + 10] = { 0 }; in tpml_marshal_buffer_size_lt_data_nad_lt_offset()
216 hndl.count = 2; in tpml_marshal_buffer_size_lt_data_nad_lt_offset()
217 hndl.handle[0] = 0x81000001; in tpml_marshal_buffer_size_lt_data_nad_lt_offset()
218 hndl.handle[1] = 0x81000002; in tpml_marshal_buffer_size_lt_data_nad_lt_offset()
220 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, buffer, buffer_size, &offset); in tpml_marshal_buffer_size_lt_data_nad_lt_offset()
248 TPML_HANDLE hndl = {0}; in tpml_marshal_invalid_count() local
250 uint8_t buffer[sizeof(hndl) + sizeof(sel)] = { 0 }; in tpml_marshal_invalid_count()
254 hndl.count = TPM2_MAX_CAP_HANDLES + 2; in tpml_marshal_invalid_count()
255 hndl.handle[0] = 0x81000001; in tpml_marshal_invalid_count()
256 hndl.handle[1] = 0x81000002; in tpml_marshal_invalid_count()
258 rc = Tss2_MU_TPML_HANDLE_Marshal(&hndl, buffer, buffer_size, NULL); in tpml_marshal_invalid_count()
282 TPML_HANDLE hndl = {0}; in tpml_unmarshal_success() local
284 uint8_t buffer[sizeof(hndl) + sizeof(sel) + 10] = { 0 }; in tpml_unmarshal_success()
295 rc = Tss2_MU_TPML_HANDLE_Unmarshal(buffer, buffer_size, &offset, &hndl); in tpml_unmarshal_success()
297 assert_int_equal (hndl.count, 2); in tpml_unmarshal_success()
298 assert_int_equal (hndl.handle[0], 0x81000001); in tpml_unmarshal_success()
299 assert_int_equal (hndl.handle[1], 0x81000002); in tpml_unmarshal_success()
443 TPML_HANDLE hndl = {0}; in tpml_unmarshal_invalid_count() local
445 uint8_t buffer[sizeof(hndl) + sizeof(sel) + 10] = { 0 }; in tpml_unmarshal_invalid_count()
457 rc = Tss2_MU_TPML_HANDLE_Unmarshal(buffer, buffer_size, &offset, &hndl); in tpml_unmarshal_invalid_count()