• Home
  • Raw
  • Download

Lines Matching +full:set +full:- +full:image

41 /* Size of the vbmeta image header. */
44 /* Magic for the vbmeta image header. */
51 /* Flags for the vbmeta image.
53 * AVB_VBMETA_IMAGE_FLAGS_HASHTREE_DISABLED: If this flag is set,
54 * hashtree image verification will be disabled.
56 * AVB_VBMETA_IMAGE_FLAGS_VERIFICATION_DISABLED: If this flag is set,
64 /* Binary format for header of the vbmeta image.
66 * The vbmeta image consists of three blocks:
68 * +-----------------------------------------+
69 * | Header data - fixed size |
70 * +-----------------------------------------+
71 * | Authentication data - variable size |
72 * +-----------------------------------------+
73 * | Auxiliary data - variable size |
74 * +-----------------------------------------+
81 * the vbmeta image. The type of the hash and signature is defined by
103 * Descriptors are free-form blocks stored in a part of the vbmeta
104 * image subject to the same integrity checks as the rest of the
105 * image. See the documentation for |AvbDescriptor| for well-known
159 /* 88: Length of the public key metadata. Must be set to zero if there
175 * set to zero if the vbmeta image is not a top-level image.
182 * and this value must be set to 0.
187 * "avbtool 1.0.0 xyz_board Git-234abde89". Is guaranteed to be NUL
194 * bytes. This must be set to zeroes.
199 /* Copies |src| to |dest|, byte-swapping fields in the process.
209 * AVB_VBMETA_VERIFY_RESULT_OK is returned if the vbmeta image header
212 * to sign the image, see avb_vbmeta_image_verify() for details.
215 * image header is valid but there is no signature or hash.
218 * header of the vbmeta image is invalid, for example, invalid magic
222 * vbmeta image requires a minimum version of libavb which exceeds the
223 * version of libavb used; or b) the vbmeta image major version
232 * doesn't match the public key stored in the vbmeta image.
246 /* Checks that vbmeta image at |data| of size |length| is a valid
247 * vbmeta image. The complete contents of the vbmeta image must be
248 * passed in. It's fine if |length| is bigger than the actual image,
255 * vbmeta image.
258 * |out_public_key_data| is non-NULL, it will be set to point inside
260 * |out_public_key_length|, if non-NULL, will be set to the length of
262 * |out_public_key_data| is set to NULL.
269 * need to check that the public key embedded in the image
276 * value in NVRAM and reject the vbmeta image if the value in
282 * This is a low-level function to only verify the vbmeta data - you
284 * integrity data for a whole set of partitions.