Lines Matching refs:key_block
58 static void show_keyblock(VbKeyBlockHeader *key_block, const char *name, in show_keyblock() argument
68 key_block->key_block_size); in show_keyblock()
70 key_block->key_block_flags); in show_keyblock()
71 if (key_block->key_block_flags & KEY_BLOCK_FLAG_DEVELOPER_0) in show_keyblock()
73 if (key_block->key_block_flags & KEY_BLOCK_FLAG_DEVELOPER_1) in show_keyblock()
75 if (key_block->key_block_flags & KEY_BLOCK_FLAG_RECOVERY_0) in show_keyblock()
77 if (key_block->key_block_flags & KEY_BLOCK_FLAG_RECOVERY_1) in show_keyblock()
81 VbPublicKey *data_key = &key_block->data_key; in show_keyblock()
278 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_show_fw_preamble() local
288 if (VBOOT_SUCCESS != KeyBlockVerify(key_block, len, NULL, 1)) { in futil_cb_show_fw_preamble()
317 KeyBlockVerify(key_block, len, sign_key, 0)) in futil_cb_show_fw_preamble()
320 show_keyblock(key_block, in futil_cb_show_fw_preamble()
328 RSAPublicKey *rsa = PublicKeyToRSA(&key_block->data_key); in futil_cb_show_fw_preamble()
333 uint32_t more = key_block->key_block_size; in futil_cb_show_fw_preamble()
413 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_show_kernel_preamble() local
425 if (VBOOT_SUCCESS != KeyBlockVerify(key_block, len, NULL, 1)) { in futil_cb_show_kernel_preamble()
432 KeyBlockVerify(key_block, len, sign_key, 0)) in futil_cb_show_kernel_preamble()
436 show_keyblock(key_block, NULL, !!sign_key, good_sig); in futil_cb_show_kernel_preamble()
441 RSAPublicKey *rsa = PublicKeyToRSA(&key_block->data_key); in futil_cb_show_kernel_preamble()
446 uint32_t more = key_block->key_block_size; in futil_cb_show_kernel_preamble()