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

Side by Side Diff: src/platform/vboot_reference/include/firmware_utility.h

Issue 661353: Vboot Reference: Refactor Code. (Closed)
Patch Set: Review Fixes. Created 10 years, 9 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Check if all options were specified and sane. 45 // Check if all options were specified and sane.
46 // Return true on success, false on failure. 46 // Return true on success, false on failure.
47 bool CheckOptions(); 47 bool CheckOptions();
48 48
49 FirmwareImage* image_; 49 FirmwareImage* image_;
50 RSAPublicKey* root_key_pub_; 50 RSAPublicKey* root_key_pub_;
51 std::string root_key_file_; 51 std::string root_key_file_;
52 std::string root_key_pub_file_; 52 std::string root_key_pub_file_;
53 int firmware_version_; 53 int firmware_version_;
54 std::string sign_key_file_; 54 std::string firmware_sign_key_file_;
55 std::string sign_key_pub_file_; 55 std::string firmware_sign_key_pub_file_;
56 int key_version_; 56 int firmware_key_version_;
57 int sign_algorithm_; 57 int firmware_sign_algorithm_;
58 std::string in_file_; 58 std::string in_file_;
59 std::string out_file_; 59 std::string out_file_;
60 bool is_generate_; // Are we generating a new image? 60 bool is_generate_; // Are we generating a new image?
61 bool is_verify_; // Are we just verifying an already signed image? 61 bool is_verify_; // Are we just verifying an already signed image?
62 }; 62 };
63 63
64 } // namespace vboot_reference 64 } // namespace vboot_reference
65 65
66 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_ 66 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/include/firmware_image.h ('k') | src/platform/vboot_reference/include/kernel_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698