diff options
author | fang hui <hui.fang@nxp.com> | 2017-04-27 14:50:03 +0800 |
---|---|---|
committer | fang hui <hui.fang@nxp.com> | 2017-04-27 15:16:25 +0800 |
commit | 71dc860a61a936eca242c2badaad8815b352905b (patch) | |
tree | 32469833d886b05dae2ddee032a74bb8d8081a7b /lib/avb/libavb/avb_descriptor.h | |
parent | 4dc1d71d0da1d07913ef91e60f54338db70caa69 (diff) | |
download | u-boot-imx-imx_v2015.04_brillo.zip u-boot-imx-imx_v2015.04_brillo.tar.gz u-boot-imx-imx_v2015.04_brillo.tar.bz2 |
MA-9530-2 [iot] Revet avb in ubootimx_v2015.04_brillo
Revert "libavb: upgrade avb"
This reverts commit 94734eeca56e8d1b9f1baedf67e16cd0397fc178.
Change-Id: I6eae3fa9579fb43fa6956c450011b230875d0a96
Diffstat (limited to 'lib/avb/libavb/avb_descriptor.h')
-rw-r--r-- | lib/avb/libavb/avb_descriptor.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/avb/libavb/avb_descriptor.h b/lib/avb/libavb/avb_descriptor.h index 5d0f0c6..8086a12 100644 --- a/lib/avb/libavb/avb_descriptor.h +++ b/lib/avb/libavb/avb_descriptor.h @@ -100,8 +100,7 @@ typedef bool AvbDescriptorForeachFunc(const AvbDescriptor* descriptor, * avb_vbmeta_image_verify() and reject it unless it's signed by a known * good public key. Additionally, |image_data| must be word-aligned. */ -bool avb_descriptor_foreach(const uint8_t* image_data, - size_t image_size, +bool avb_descriptor_foreach(const uint8_t* image_data, size_t image_size, AvbDescriptorForeachFunc foreach_func, void* user_data); @@ -119,10 +118,9 @@ bool avb_descriptor_foreach(const uint8_t* image_data, * avb_vbmeta_image_verify() and reject it unless it's signed by a known * good public key. Additionally, |image_data| must be word-aligned. */ -const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data, - size_t image_size, - size_t* out_num_descriptors) - AVB_ATTR_WARN_UNUSED_RESULT; +const AvbDescriptor** avb_descriptor_get_all( + const uint8_t* image_data, size_t image_size, + size_t* out_num_descriptors) AVB_ATTR_WARN_UNUSED_RESULT; #ifdef __cplusplus } |