Home | History | Annotate | Download | only in utils

Lines Matching full:blob

302     def retrieve_body_version(self, blob):
303 """Given a blob, retrieve body version.
310 magic, _, kb_size = struct.unpack_from(header_format, blob)
315 _, version = struct.unpack_from(preamble_format, blob, kb_size)
318 def retrieve_datakey_version(self, blob):
319 """Given a blob, retrieve firmware data key version.
325 magic, _, version = struct.unpack_from(header_format, blob)
330 def retrieve_kernel_subkey_version(self, blob):
331 """Given a blob, retrieve kernel subkey version.
338 magic, _, kb_size = struct.unpack_from(header_format, blob)
343 _, version = struct.unpack_from(preamble_format, blob, kb_size)
346 def retrieve_preamble_flags(self, blob):
347 """Given a blob, retrieve preamble flags if available.
354 magic, _, kb_size = struct.unpack_from(header_format, blob)
359 _, ver, subver, _, flags = struct.unpack_from(preamble_format, blob,