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

Side by Side Diff: src/platform/vboot_reference/utility/include/verify_data.h

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 years, 8 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 5
6 #ifndef VBOOT_REFERENCE_VERIFY_DATA_H_ 6 #ifndef VBOOT_REFERENCE_VERIFY_DATA_H_
7 #define VBOOT_REFERENCE_VERIFY_DATA_H_ 7 #define VBOOT_REFERENCE_VERIFY_DATA_H_
8 8
9 /* Reads a pre-processed key from [input_file] and 9 /* Reads a pre-processed key from [input_file] and
10 * returns it in a RSAPublicKey structure. 10 * returns it in a RSAPublicKey structure.
11 * Caller owns the returned key and must free it. 11 * Caller owns the returned key and must free it.
12 */ 12 */
13 RSAPublicKey* read_RSAkey(char *input_file); 13 RSAPublicKey* read_RSAkey(char *input_file);
14 14
15 /* Return a signature of [len] bytes read from [input_file]. 15 /* Return a signature of [len] bytes read from [input_file].
16 * Caller owns the returned signature and must free it. 16 * Caller owns the returned signature and must free it.
17 */ 17 */
18 uint8_t* read_signature(char *input_file, int len); 18 uint8_t* read_signature(char *input_file, int len);
19 19
20 #endif /* VBOOT_REFERENCE_VERIFY_DATA_H_ */ 20 #endif /* VBOOT_REFERENCE_VERIFY_DATA_H_ */
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/utility/include/kernel_utility.h ('k') | src/platform/vboot_reference/utility/kernel_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698