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: host/include/host_key.h

Issue 2809037: Make vboot_reference build in MSVC command line environment. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Integrated trunk changes. 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 | « host/include/host_common.h ('k') | host/include/host_keyblock.h » ('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. 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 * Host-side functions for verified boot. 5 * Host-side functions for verified boot.
6 */ 6 */
7 7
8 #ifndef VBOOT_REFERENCE_HOST_KEY_H_ 8 #ifndef VBOOT_REFERENCE_HOST_KEY_H_
9 #define VBOOT_REFERENCE_HOST_KEY_H_ 9 #define VBOOT_REFERENCE_HOST_KEY_H_
10 10
11 #include <stdint.h>
12
13 #include "cryptolib.h" 11 #include "cryptolib.h"
14 #include "utility.h" 12 #include "utility.h"
15 #include "vboot_struct.h" 13 #include "vboot_struct.h"
16 14
17 15
18 typedef struct rsa_st RSA; 16 typedef struct rsa_st RSA;
19 17
20 /* Private key data */ 18 /* Private key data */
21 typedef struct VbPrivateKey { 19 typedef struct VbPrivateKey {
22 RSA* rsa_private_key; /* Private key data */ 20 RSA* rsa_private_key; /* Private key data */
(...skipping 28 matching lines...) Expand all
51 * Returns NULL if error. */ 49 * Returns NULL if error. */
52 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm, 50 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm,
53 uint64_t version); 51 uint64_t version);
54 52
55 53
56 /* Write a public key to a file in .vbpubk format. */ 54 /* Write a public key to a file in .vbpubk format. */
57 int PublicKeyWrite(const char* filename, const VbPublicKey* key); 55 int PublicKeyWrite(const char* filename, const VbPublicKey* key);
58 56
59 57
60 #endif /* VBOOT_REFERENCE_HOST_KEY_H_ */ 58 #endif /* VBOOT_REFERENCE_HOST_KEY_H_ */
OLDNEW
« no previous file with comments | « host/include/host_common.h ('k') | host/include/host_keyblock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698