• Home
  • Raw
  • Download

Lines Matching refs:point

25     TPM2B_ECC_POINT point = {0};  in tpm2b_marshal_success()  local
26 uint8_t buffer[sizeof(dgst) + sizeof(point)] = {0}; in tpm2b_marshal_success()
36 memcpy(point.point.x.buffer, &value, sizeof(value)); in tpm2b_marshal_success()
37 point.point.x.size = sizeof(value); in tpm2b_marshal_success()
38 memcpy(point.point.y.buffer, &value2, sizeof(value2)); in tpm2b_marshal_success()
39 point.point.y.size = sizeof(value2); in tpm2b_marshal_success()
48 rc = Tss2_MU_TPM2B_ECC_POINT_Marshal(&point, buffer, buffer_size, NULL); in tpm2b_marshal_success()
71 TPM2B_ECC_POINT point = {0}; in tpm2b_marshal_success_offset() local
73 uint8_t buffer[sizeof(dgst) + sizeof(point) + 10] = {0}; in tpm2b_marshal_success_offset()
83 memcpy(point.point.x.buffer, &value, sizeof(value)); in tpm2b_marshal_success_offset()
84 point.point.x.size = sizeof(value); in tpm2b_marshal_success_offset()
85 memcpy(point.point.y.buffer, &value2, sizeof(value2)); in tpm2b_marshal_success_offset()
86 point.point.y.size = sizeof(value2); in tpm2b_marshal_success_offset()
97 rc = Tss2_MU_TPM2B_ECC_POINT_Marshal(&point, buffer, buffer_size, &offset); in tpm2b_marshal_success_offset()
124 TPM2B_ECC_POINT point = {0}; in tpm2b_marshal_buffer_null_with_offset() local
126 size_t buffer_size = sizeof(dgst) + sizeof(point) + 10; in tpm2b_marshal_buffer_null_with_offset()
133 memcpy(point.point.x.buffer, &value, sizeof(value)); in tpm2b_marshal_buffer_null_with_offset()
134 point.point.x.size = sizeof(value); in tpm2b_marshal_buffer_null_with_offset()
135 memcpy(point.point.y.buffer, &value2, sizeof(value2)); in tpm2b_marshal_buffer_null_with_offset()
136 point.point.y.size = sizeof(value2); in tpm2b_marshal_buffer_null_with_offset()
143 rc = Tss2_MU_TPM2B_ECC_POINT_Marshal(&point, NULL, buffer_size, &offset); in tpm2b_marshal_buffer_null_with_offset()
176 TPM2B_ECC_POINT point = {0}; in tpm2b_marshal_buffer_null_offset_null() local
183 rc = Tss2_MU_TPM2B_ECC_POINT_Marshal(&point, NULL, buffer_size, NULL); in tpm2b_marshal_buffer_null_offset_null()
193 TPM2B_ECC_POINT point = {0}; in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset() local
195 uint8_t buffer[sizeof(dgst) + sizeof(point)] = {0}; in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
202 memcpy(point.point.x.buffer, &value, sizeof(value)); in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
203 point.point.x.size = sizeof(value); in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
204 memcpy(point.point.y.buffer, &value2, sizeof(value2)); in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
205 point.point.y.size = sizeof(value2); in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
210 rc = Tss2_MU_TPM2B_ECC_POINT_Marshal(&point, buffer, buffer_size, &offset); in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
221 TPM2B_ECC_POINT point = {0}; in tpm2b_unmarshal_success() local
241 rc = Tss2_MU_TPM2B_ECC_POINT_Unmarshal(buffer, buffer_size, &offset, &point); in tpm2b_unmarshal_success()
243 assert_int_equal (point.point.x.size, 4); in tpm2b_unmarshal_success()
244 memcpy(&val, point.point.x.buffer, sizeof(val)); in tpm2b_unmarshal_success()
246 assert_int_equal (point.point.y.size, 4); in tpm2b_unmarshal_success()
247 memcpy(&val, point.point.y.buffer, sizeof(val)); in tpm2b_unmarshal_success()
259 TPM2B_ECC_POINT point = {0}; in tpm2b_unmarshal_success_offset() local
282 rc = Tss2_MU_TPM2B_ECC_POINT_Unmarshal(buffer, buffer_size, &offset, &point); in tpm2b_unmarshal_success_offset()
284 assert_int_equal (point.point.x.size, 8); in tpm2b_unmarshal_success_offset()
285 memcpy(&val2, point.point.x.buffer, sizeof(val2)); in tpm2b_unmarshal_success_offset()
287 assert_int_equal (point.point.y.size, 4); in tpm2b_unmarshal_success_offset()
288 memcpy(&val, point.point.y.buffer, sizeof(val)); in tpm2b_unmarshal_success_offset()
300 TPM2B_ECC_POINT point = {0}; in tpm2b_unmarshal_buffer_null() local
319 rc = Tss2_MU_TPM2B_ECC_POINT_Unmarshal (NULL, 1, NULL, &point); in tpm2b_unmarshal_buffer_null()
369 TPM2B_ECC_POINT point = {0}; in tpm2b_unmarshal_buffer_size_lt_data_nad_lt_offset() local
370 uint8_t buffer[sizeof(dgst) + sizeof(point)] = { 0 }; in tpm2b_unmarshal_buffer_size_lt_data_nad_lt_offset()
378 rc = Tss2_MU_TPM2B_ECC_POINT_Unmarshal (buffer, 1, &offset, &point); in tpm2b_unmarshal_buffer_size_lt_data_nad_lt_offset()