OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * Functions for verifying a verified boot firmware image. | 5 * Functions for verifying a verified boot firmware image. |
6 * (Firmware Portion) | 6 * (Firmware Portion) |
7 */ | 7 */ |
8 | 8 |
9 #include "firmware_image_fw.h" | 9 #include "firmware_image_fw.h" |
10 | 10 |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 */ | 322 */ |
323 if (stored_lversion <= firmwareB_lversion && | 323 if (stored_lversion <= firmwareB_lversion && |
324 (VERIFY_FIRMWARE_SUCCESS == VerifyFirmware(root_key_blob, | 324 (VERIFY_FIRMWARE_SUCCESS == VerifyFirmware(root_key_blob, |
325 verification_headerB, | 325 verification_headerB, |
326 firmwareB))) | 326 firmwareB))) |
327 return BOOT_FIRMWARE_B_CONTINUE; | 327 return BOOT_FIRMWARE_B_CONTINUE; |
328 } | 328 } |
329 /* D'oh: No bootable firmware. */ | 329 /* D'oh: No bootable firmware. */ |
330 return BOOT_FIRMWARE_RECOVERY_CONTINUE; | 330 return BOOT_FIRMWARE_RECOVERY_CONTINUE; |
331 } | 331 } |
OLD | NEW |