Lines Matching refs:alg_ptr
31 uint16_t *alg_ptr; in tpms_marshal_success() local
42 alg_ptr = (uint16_t *)buffer; in tpms_marshal_success()
46 assert_int_equal (*alg_ptr, alg_expected); in tpms_marshal_success()
75 uint16_t *alg_ptr; in tpms_marshal_success_offset() local
87 alg_ptr = (uint16_t *)(buffer + 10); in tpms_marshal_success_offset()
88 alg_properties_ptr = (uint32_t *)(buffer + sizeof(*alg_ptr) + 10); in tpms_marshal_success_offset()
92 assert_int_equal (*alg_ptr, alg_expected); in tpms_marshal_success_offset()
100 ptr2 = (TPMS_CAPABILITY_DATA *)(buffer + 10 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr)); in tpms_marshal_success_offset()
109 …assert_int_equal (offset, 10 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr) + sizeof(capability)… in tpms_marshal_success_offset()
120 uint16_t *alg_ptr; in tpms_marshal_buffer_null_with_offset() local
131 assert_int_equal (offset, 100 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr)); in tpms_marshal_buffer_null_with_offset()
141 … assert_int_equal (offset, 100 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr) + 4 + 4 + (3 * 2)); in tpms_marshal_buffer_null_with_offset()
203 uint16_t *alg_ptr; in tpms_unmarshal_success() local
212 alg_ptr = (uint16_t *) buffer; in tpms_unmarshal_success()
213 *alg_ptr = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_unmarshal_success()
214 alg_properties_ptr = (uint32_t *) (buffer + sizeof(*alg_ptr)); in tpms_unmarshal_success()
284 uint16_t *alg_ptr; in tpms_unmarshal_dest_null_offset_valid() local
290 alg_ptr = (uint16_t *) buffer; in tpms_unmarshal_dest_null_offset_valid()
291 *alg_ptr = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_unmarshal_dest_null_offset_valid()
292 alg_properties_ptr = (uint32_t *) (buffer + sizeof(*alg_ptr)); in tpms_unmarshal_dest_null_offset_valid()
297 assert_int_equal (offset, sizeof(*alg_ptr) + sizeof(*alg_properties_ptr)); in tpms_unmarshal_dest_null_offset_valid()