Lines Matching refs:my_area
94 VbPublicKey *pubkey = (VbPublicKey *)state->my_area->buf;
96 if (!PublicKeyLooksOkay(pubkey, state->my_area->len)) {
104 state->my_area->_flags |= AREA_IS_VALID;
113 key.algorithm = *(typeof(key.algorithm) *)state->my_area->buf;
121 state->my_area->_flags |= AREA_IS_VALID;
128 uint8_t *buf = state->my_area->buf;
129 uint32_t len = state->my_area->len;
176 state->rootkey.offset = state->my_area->offset +
190 state->recovery_key.offset = state->my_area->offset +
220 state->my_area->_flags |= AREA_IS_VALID;
227 VbKeyBlockHeader *block = (VbKeyBlockHeader *)state->my_area->buf;
233 if (0 != KeyBlockVerify(block, state->my_area->len, NULL, 1)) {
240 KeyBlockVerify(block, state->my_area->len, sign_key, 0))
248 state->my_area->_flags |= AREA_IS_VALID;
256 * The data in state->my_area is just the RW firmware blob, so there's nothing
262 if (!state->my_area->len) {
268 printf(" Offset: 0x%08x\n", state->my_area->offset);
269 printf(" Size: 0x%08x\n", state->my_area->len);
271 state->my_area->_flags |= AREA_IS_VALID;
278 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf;
279 uint32_t len = state->my_area->len;
335 (VbFirmwarePreambleHeader *)(state->my_area->buf + more);
400 state->my_area->_flags |= AREA_IS_VALID;
413 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf;
414 uint32_t len = state->my_area->len;
448 (VbKernelPreambleHeader *)(state->my_area->buf + more);
496 } else if (state->my_area->len > option.padding) {
498 kernel_blob = state->my_area->buf + option.padding;
499 kernel_size = state->my_area->len - option.padding;