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 * Common functions between firmware and kernel verified boot. | 5 * Common functions between firmware and kernel verified boot. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef VBOOT_REFERENCE_VBOOT_COMMON_H_ | 8 #ifndef VBOOT_REFERENCE_VBOOT_COMMON_H_ |
9 #define VBOOT_REFERENCE_VBOOT_COMMON_H_ | 9 #define VBOOT_REFERENCE_VBOOT_COMMON_H_ |
10 | 10 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 * using public key [key]. | 101 * using public key [key]. |
102 * | 102 * |
103 * Returns VBOOT_SUCCESS if successful. */ | 103 * Returns VBOOT_SUCCESS if successful. */ |
104 int VerifyKernelPreamble2(const VbKernelPreambleHeader* preamble, | 104 int VerifyKernelPreamble2(const VbKernelPreambleHeader* preamble, |
105 uint64_t size, const RSAPublicKey* key); | 105 uint64_t size, const RSAPublicKey* key); |
106 | 106 |
107 | 107 |
108 | 108 |
109 | 109 |
110 #endif /* VBOOT_REFERENCE_VBOOT_COMMON_H_ */ | 110 #endif /* VBOOT_REFERENCE_VBOOT_COMMON_H_ */ |
OLD | NEW |