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

Side by Side Diff: utility/vbutil_key.c

Issue 2730011: Added vbutil_kernel. (Closed) Base URL: ssh://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/vbutil_kernel.c ('k') | utility/vbutil_keyblock.c » ('j') | 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.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 *
5 * Verified boot key utility
6 */
7
1 #include <getopt.h> 8 #include <getopt.h>
2 #include <inttypes.h> /* For PRIu64 */ 9 #include <inttypes.h> /* For PRIu64 */
3 #include <stdio.h> 10 #include <stdio.h>
4 #include <stdlib.h> 11 #include <stdlib.h>
5 12
6 #include "cryptolib.h" 13 #include "cryptolib.h"
7 #include "host_common.h" 14 #include "host_common.h"
8 #include "vboot_common.h" 15 #include "vboot_common.h"
9 16
10 17
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 switch(mode) { 173 switch(mode) {
167 case OPT_MODE_PACK: 174 case OPT_MODE_PACK:
168 return Pack(infile, outfile, algorithm, version); 175 return Pack(infile, outfile, algorithm, version);
169 case OPT_MODE_UNPACK: 176 case OPT_MODE_UNPACK:
170 return Unpack(infile, outfile); 177 return Unpack(infile, outfile);
171 default: 178 default:
172 printf("Must specify a mode.\n"); 179 printf("Must specify a mode.\n");
173 return PrintHelp(); 180 return PrintHelp();
174 } 181 }
175 } 182 }
OLDNEW
« no previous file with comments | « utility/vbutil_kernel.c ('k') | utility/vbutil_keyblock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698