Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: utility/include/firmware_utility.h

Issue 2696003: Add option to specify a kernel subkey signing key to firmware signing utility. (Closed) Base URL: ssh://git@gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « utility/firmware_utility.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef VBOOT_REFERENCE_FIRMWARE_UTILITY_H_ 5 #ifndef VBOOT_REFERENCE_FIRMWARE_UTILITY_H_
6 #define VBOOT_REFERENCE_FIRMWARE_UTILITY_H_ 6 #define VBOOT_REFERENCE_FIRMWARE_UTILITY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class FirmwareImage; 10 class FirmwareImage;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 FirmwareImage* image_; 53 FirmwareImage* image_;
54 RSAPublicKey* root_key_pub_; 54 RSAPublicKey* root_key_pub_;
55 std::string root_key_file_; 55 std::string root_key_file_;
56 std::string root_key_pub_file_; 56 std::string root_key_pub_file_;
57 std::string firmware_key_file_; 57 std::string firmware_key_file_;
58 std::string firmware_key_pub_file_; 58 std::string firmware_key_pub_file_;
59 std::string subkey_in_file_; // Existing key signature header. 59 std::string subkey_in_file_; // Existing key signature header.
60 std::string in_file_; 60 std::string in_file_;
61 std::string out_file_; 61 std::string out_file_;
62 std::string kernel_subkey_sign_pub_file_;
62 int firmware_key_version_; 63 int firmware_key_version_;
63 int firmware_sign_algorithm_; 64 int firmware_sign_algorithm_;
64 int firmware_version_; 65 int firmware_version_;
66 int kernel_subkey_sign_algorithm_;
65 bool is_generate_; // Are we generating a new image? 67 bool is_generate_; // Are we generating a new image?
66 bool is_verify_; // Are we just verifying an already signed image? 68 bool is_verify_; // Are we just verifying an already signed image?
67 bool is_describe_; // Should we print out description of the image? 69 bool is_describe_; // Should we print out description of the image?
68 bool is_only_vblock_; // Should we just output the verification block? 70 bool is_only_vblock_; // Should we just output the verification block?
69 bool is_subkey_out_; // Should we just output the subkey header? 71 bool is_subkey_out_; // Should we just output the subkey header?
70 }; 72 };
71 73
72 } // namespace vboot_reference 74 } // namespace vboot_reference
73 75
74 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_ 76 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_
OLDNEW
« no previous file with comments | « utility/firmware_utility.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698