Lines Matching refs:gbb

130 	GoogleBinaryBlockHeader *gbb = (GoogleBinaryBlockHeader *)buf;  in futil_cb_show_gbb()  local
144 if (!futil_valid_gbb_header(gbb, len, &maxlen)) in futil_cb_show_gbb()
150 gbb->major_version, gbb->minor_version); in futil_cb_show_gbb()
151 printf(" Flags: 0x%08x\n", gbb->flags); in futil_cb_show_gbb()
154 gbb->hwid_offset, gbb->hwid_size); in futil_cb_show_gbb()
156 gbb->bmpfv_offset, gbb->bmpfv_size); in futil_cb_show_gbb()
158 gbb->rootkey_offset, gbb->rootkey_size); in futil_cb_show_gbb()
160 gbb->recovery_key_offset, gbb->recovery_key_size); in futil_cb_show_gbb()
171 printf(" HWID: %s\n", buf + gbb->hwid_offset); in futil_cb_show_gbb()
172 print_hwid_digest(gbb, " digest: ", "\n"); in futil_cb_show_gbb()
174 pubkey = (VbPublicKey *)(buf + gbb->rootkey_offset); in futil_cb_show_gbb()
175 if (PublicKeyLooksOkay(pubkey, gbb->rootkey_size)) { in futil_cb_show_gbb()
177 gbb->rootkey_offset; in futil_cb_show_gbb()
178 state->rootkey.buf = buf + gbb->rootkey_offset; in futil_cb_show_gbb()
179 state->rootkey.len = gbb->rootkey_size; in futil_cb_show_gbb()
188 pubkey = (VbPublicKey *)(buf + gbb->recovery_key_offset); in futil_cb_show_gbb()
189 if (PublicKeyLooksOkay(pubkey, gbb->recovery_key_size)) { in futil_cb_show_gbb()
191 gbb->recovery_key_offset; in futil_cb_show_gbb()
192 state->recovery_key.buf = buf + gbb->recovery_key_offset; in futil_cb_show_gbb()
193 state->recovery_key.len = gbb->recovery_key_size; in futil_cb_show_gbb()
202 bmp = (BmpBlockHeader *)(buf + gbb->bmpfv_offset); in futil_cb_show_gbb()