| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 * attempted. | 312 * attempted. |
| 313 * If FirmwareB is not a rollback, then we attempt to do the verification. | 313 * If FirmwareB is not a rollback, then we attempt to do the verification. |
| 314 */ | 314 */ |
| 315 if (stored_lversion <= firmwareB_lversion && | 315 if (stored_lversion <= firmwareB_lversion && |
| 316 (VERIFY_FIRMWARE_SUCCESS == VerifyFirmware(root_key_blob, firmwareB))) | 316 (VERIFY_FIRMWARE_SUCCESS == VerifyFirmware(root_key_blob, firmwareB))) |
| 317 return BOOT_FIRMWARE_B_CONTINUE; | 317 return BOOT_FIRMWARE_B_CONTINUE; |
| 318 } | 318 } |
| 319 /* D'oh: No bootable firmware. */ | 319 /* D'oh: No bootable firmware. */ |
| 320 return BOOT_FIRMWARE_RECOVERY_CONTINUE; | 320 return BOOT_FIRMWARE_RECOVERY_CONTINUE; |
| 321 } | 321 } |
| OLD | NEW |