| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  426   /* Lock Kernel TPM rollback indices from further writes. |  426   /* Lock Kernel TPM rollback indices from further writes. | 
|  427    * TODO(gauravsh): Figure out if these can be combined into one |  427    * TODO(gauravsh): Figure out if these can be combined into one | 
|  428    * 32-bit location since we seem to always use them together. This can help |  428    * 32-bit location since we seem to always use them together. This can help | 
|  429    * us minimize the number of NVRAM writes/locks (which are limited over flash |  429    * us minimize the number of NVRAM writes/locks (which are limited over flash | 
|  430    * memory lifetimes. |  430    * memory lifetimes. | 
|  431    */ |  431    */ | 
|  432   LockStoredVersion(KERNEL_KEY_VERSION); |  432   LockStoredVersion(KERNEL_KEY_VERSION); | 
|  433   LockStoredVersion(KERNEL_VERSION); |  433   LockStoredVersion(KERNEL_VERSION); | 
|  434   return kernel_to_boot; |  434   return kernel_to_boot; | 
|  435 } |  435 } | 
| OLD | NEW |