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 kernel image. | 5 * Functions for verifying a verified boot kernel image. |
6 * (Firmware portion) | 6 * (Firmware portion) |
7 */ | 7 */ |
8 | 8 |
9 #include "kernel_image_fw.h" | 9 #include "kernel_image_fw.h" |
10 | 10 |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 /* Lock Kernel TPM rollback indices from further writes. | 357 /* Lock Kernel TPM rollback indices from further writes. |
358 * TODO(gauravsh): Figure out if these can be combined into one | 358 * TODO(gauravsh): Figure out if these can be combined into one |
359 * 32-bit location since we seem to always use them together. This can help | 359 * 32-bit location since we seem to always use them together. This can help |
360 * us minimize the number of NVRAM writes/locks (which are limited over flash | 360 * us minimize the number of NVRAM writes/locks (which are limited over flash |
361 * memory lifetimes. | 361 * memory lifetimes. |
362 */ | 362 */ |
363 LockStoredVersion(KERNEL_KEY_VERSION); | 363 LockStoredVersion(KERNEL_KEY_VERSION); |
364 LockStoredVersion(KERNEL_VERSION); | 364 LockStoredVersion(KERNEL_VERSION); |
365 return kernel_to_boot; | 365 return kernel_to_boot; |
366 } | 366 } |
OLD | NEW |