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

Side by Side Diff: vboot_firmware/lib/cryptolib/include/padding.h

Issue 2833012: Move all system includes in vboot_firmware to sysincludes.h (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Oops, forgot the new header 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 | « vboot_firmware/lib/cgptlib/include/gpt.h ('k') | vboot_firmware/lib/cryptolib/include/rsa.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 5
6 #ifndef VBOOT_REFERENCE_PADDING_H_ 6 #ifndef VBOOT_REFERENCE_PADDING_H_
7 #define VBOOT_REFERENCE_PADDING_H_ 7 #define VBOOT_REFERENCE_PADDING_H_
8 8
9 #ifndef VBOOT_REFERENCE_CRYPTOLIB_H_ 9 #ifndef VBOOT_REFERENCE_CRYPTOLIB_H_
10 #error "Do not include this file directly. Use cryptolib.h instead." 10 #error "Do not include this file directly. Use cryptolib.h instead."
11 #endif 11 #endif
12 12
13 #include <stdint.h> 13 #include "sysincludes.h"
14 14
15 extern const uint8_t paddingRSA1024_SHA1[]; 15 extern const uint8_t paddingRSA1024_SHA1[];
16 extern const uint8_t paddingRSA1024_SHA256[]; 16 extern const uint8_t paddingRSA1024_SHA256[];
17 extern const uint8_t paddingRSA1024_SHA512[]; 17 extern const uint8_t paddingRSA1024_SHA512[];
18 extern const uint8_t paddingRSA2048_SHA1[]; 18 extern const uint8_t paddingRSA2048_SHA1[];
19 extern const uint8_t paddingRSA2048_SHA256[]; 19 extern const uint8_t paddingRSA2048_SHA256[];
20 extern const uint8_t paddingRSA2048_SHA512[]; 20 extern const uint8_t paddingRSA2048_SHA512[];
21 extern const uint8_t paddingRSA4096_SHA1[]; 21 extern const uint8_t paddingRSA4096_SHA1[];
22 extern const uint8_t paddingRSA4096_SHA256[]; 22 extern const uint8_t paddingRSA4096_SHA256[];
23 extern const uint8_t paddingRSA4096_SHA512[]; 23 extern const uint8_t paddingRSA4096_SHA512[];
24 extern const uint8_t paddingRSA8192_SHA1[]; 24 extern const uint8_t paddingRSA8192_SHA1[];
25 extern const uint8_t paddingRSA8192_SHA256[]; 25 extern const uint8_t paddingRSA8192_SHA256[];
26 extern const uint8_t paddingRSA8192_SHA512[]; 26 extern const uint8_t paddingRSA8192_SHA512[];
27 27
28 extern const int kNumAlgorithms; 28 extern const int kNumAlgorithms;
29 29
30 extern const int digestinfo_size_map[]; 30 extern const int digestinfo_size_map[];
31 extern const int siglen_map[]; 31 extern const int siglen_map[];
32 extern const uint8_t* padding_map[]; 32 extern const uint8_t* padding_map[];
33 extern const int padding_size_map[]; 33 extern const int padding_size_map[];
34 extern const int hash_type_map[]; 34 extern const int hash_type_map[];
35 extern const int hash_size_map[]; 35 extern const int hash_size_map[];
36 extern const int hash_blocksize_map[]; 36 extern const int hash_blocksize_map[];
37 extern const uint8_t* hash_digestinfo_map[]; 37 extern const uint8_t* hash_digestinfo_map[];
38 extern const char* algo_strings[]; 38 extern const char* algo_strings[];
39 39
40 #endif /* VBOOT_REFERENCE_PADDING_H_ */ 40 #endif /* VBOOT_REFERENCE_PADDING_H_ */
OLDNEW
« no previous file with comments | « vboot_firmware/lib/cgptlib/include/gpt.h ('k') | vboot_firmware/lib/cryptolib/include/rsa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698