Lines Matching full:image

33 // Verify BLOB magic bytes in payload's image descriptor at the expected offset
35 // @param[in] ctx context which describes the image and holds opaque private
40 // payload's image descriptor
76 // Find offset of Image MAUV data in payload BLOB inside the image descriptor
78 // @param[in] ctx context which describes the image and holds opaque private
83 // payload BLOB magic bytes in image
85 // @param[in] payload_blob_size Size of payload BLOB as per its image
87 // @param[out] payload_image_mauv_data_offset Absolute offset of Image MAUV
88 // data in payload's image
90 // @param[out] payload_image_mauv_data_size Size of Image MAUV data embedded in
91 // payload's image descriptor
132 "in image descriptor", in find_image_mauv_data_offset_in_payload()
151 /* There should be only one Image MAUV in a valid image in find_image_mauv_data_offset_in_payload()
155 "%s: Found multiple Image MAUV BLOB instances in payload\n", in find_image_mauv_data_offset_in_payload()
171 CPRINTS(ctx, "%s: Did not find Image MAUV BLOB inside payload\n", in find_image_mauv_data_offset_in_payload()
177 // Read Image MAUV data from BLOB inside payload's image descriptor
179 // @param[in] ctx context which describes the image and holds opaque private
183 // @param[in] payload_image_mauv_data_offset Absolute offset of Image MAUV data
184 // in payload's image descriptor
185 // @param[in] payload_image_mauv_data_size Size of Image MAUV data embedded in
186 // payload's image descriptor
187 // @param[out] payload_image_mauv_data_buffer Buffer to store Image MAUV data
188 // read from payload's image
211 "%s: Payload Image MAUV data size (0x%x) is more than supported " in read_image_mauv_data_from_payload()
223 "%s: Could not read Image MAUV data from payload @ offset 0x%x " in read_image_mauv_data_from_payload()
233 // Check if Image MAUV allows update to a target payload version
235 // @param[in] stored_image_mauv_data Image MAUV data stored in system
262 // Do a sanity check for values stored in Image MAUV data
264 // @param[in] image_mauv_data Image MAUV data
265 // @param[in] image_mauv_data_size Size of Image MAUV data in bytes
276 CPRINTS(ctx, "%s: Image MAUV data size is smaller than expected\n", in sanity_check_image_mauv_data()
283 CPRINTS(ctx, "%s: Unexpected Image MAUV version\n", __FUNCTION__); in sanity_check_image_mauv_data()
300 "%s: Version denylist entries in Image MAUV exceed maximum count\n", in sanity_check_image_mauv_data()
313 "%s: Size of Image MAUV data (0x%x) is different than expected " in sanity_check_image_mauv_data()
324 "%s: Image MAUV does not allow update to the payload it was " in sanity_check_image_mauv_data()
332 // Find and read (if found) Image MAUV from payload's image descriptor
334 // @param[in] ctx context which describes the image and holds opaque private
339 // payload's image descriptor
341 // image descriptor
342 // @param[out] payload_image_mauv_data_buffer Buffer to store Image MAUV data
343 // read from payload's image
345 // @param[out] payload_image_mauv_data_size Size of Image MAUV data (in bytes)
346 // read from payload's image
348 // @param[out] payload_contains_image_mauv_data Flag to indicate whether Image
350 // payload's image descriptor
399 // Replace stored Image MAUV data with payload Image MAUV data
401 // @param[in] ctx context which describes the image and holds opaque private
405 // @param[in] payload_image_mauv_data Image MAUV data from payload
406 // @param[in] payload_image_mauv_data_size Size of Image MAUV data (in bytes)
430 "%s: Could not store new Image MAUV data from the payload\n", in update_stored_image_mauv_data()
437 // Validates Image MAUV from payload against stored Image MAUV (if present)
439 // @param[in] ctx context which describes the image and holds opaque private
444 // image descriptor. `0` if BLOB data is not
445 // present in image descriptor
447 // image descriptor
485 "%s: Payload contains Image MAUV data but required interface " in validate_payload_image_mauv()
492 "%s: Payload does not contain Image MAUV data and interface " in validate_payload_image_mauv()
506 "%s: Stored Image MAUV data not present in the system. Skipping Image " in validate_payload_image_mauv()
519 CPRINTS(ctx, "%s: Could not retrieve Image MAUV stored in system\n", in validate_payload_image_mauv()
526 "%s: Stored Image MAUV data size (0x%x) is more than supported " in validate_payload_image_mauv()
542 CPRINTS(ctx, "%s: Image MAUV expected to be present in payload", in validate_payload_image_mauv()
553 "%s: Stored Image MAUV data does not allow update to payload " in validate_payload_image_mauv()