Lines Matching refs:sign_key
59 int sign_key, int good_sig) in show_keyblock() argument
66 sign_key ? (good_sig ? "valid" : "invalid") : "ignored"); in show_keyblock()
228 VbPublicKey *sign_key = option.k; in futil_cb_show_keyblock() local
239 if (sign_key && VBOOT_SUCCESS == in futil_cb_show_keyblock()
240 KeyBlockVerify(block, state->my_area->len, sign_key, 0)) in futil_cb_show_keyblock()
243 if (option.strict && (!sign_key || !good_sig)) in futil_cb_show_keyblock()
246 show_keyblock(block, state->in_filename, !!sign_key, good_sig); in futil_cb_show_keyblock()
280 VbPublicKey *sign_key = option.k; in futil_cb_show_fw_preamble() local
295 if (!sign_key && (state->rootkey._flags & AREA_IS_VALID)) in futil_cb_show_fw_preamble()
297 sign_key = (VbPublicKey *)state->rootkey.buf; in futil_cb_show_fw_preamble()
302 if (!sign_key && (state->rootkey._flags & AREA_IS_VALID)) in futil_cb_show_fw_preamble()
304 sign_key = (VbPublicKey *)state->rootkey.buf; in futil_cb_show_fw_preamble()
316 if (sign_key && VBOOT_SUCCESS == in futil_cb_show_fw_preamble()
317 KeyBlockVerify(key_block, len, sign_key, 0)) in futil_cb_show_fw_preamble()
323 !!sign_key, good_sig); in futil_cb_show_fw_preamble()
325 if (option.strict && (!sign_key || !good_sig)) in futil_cb_show_fw_preamble()
397 (sign_key && good_sig)) { in futil_cb_show_fw_preamble()
415 VbPublicKey *sign_key = option.k; in futil_cb_show_kernel_preamble() local
431 if (sign_key && VBOOT_SUCCESS == 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()
438 if (option.strict && (!sign_key || !good_sig)) in futil_cb_show_kernel_preamble()