blob: 2cc74bfe0d6d6c917773521de9aa7fe8ea56f9b4 [file] [log] [blame]
Gaurav Shah322536d2010-01-28 15:01:23 -08001#ifndef VBOOT_REFERENCE_PADDING_H_
2#define VBOOT_REFERENCE_PADDING_H_
3
4#include <inttypes.h>
5
6extern const uint8_t paddingRSA1024_SHA1[];
7extern const uint8_t paddingRSA1024_SHA256[];
8extern const uint8_t paddingRSA1024_SHA512[];
9extern const uint8_t paddingRSA2048_SHA1[];
10extern const uint8_t paddingRSA2048_SHA256[];
11extern const uint8_t paddingRSA2048_SHA512[];
12extern const uint8_t paddingRSA4096_SHA1[];
13extern const uint8_t paddingRSA4096_SHA256[];
14extern const uint8_t paddingRSA4096_SHA512[];
15extern const uint8_t paddingRSA8192_SHA1[];
16extern const uint8_t paddingRSA8192_SHA256[];
17extern const uint8_t paddingRSA8192_SHA512[];
18
19extern const int kNumAlgorithms;
20
21extern const int siglen_map[];
22extern const uint8_t* padding_map[];
23extern const int padding_size_map[];
24extern const int hash_blocksize_map[];
25extern const char* algo_strings[];
26
27#endif /* VBOOT_REFERENCE_PADDING_H_ */